Removed LinkStartSignal

gql_cataclysm
noah metz 2023-08-15 19:18:21 -06:00
parent 98f05d57f9
commit f398c9659e
2 changed files with 0 additions and 10 deletions

@ -42,7 +42,6 @@ func TestGQLServer(t *testing.T) {
group_policy_2 := NewMemberOfPolicy(map[NodeID]Tree{ group_policy_2 := NewMemberOfPolicy(map[NodeID]Tree{
gql_id: Tree{ gql_id: Tree{
LinkSignalType.String(): nil, LinkSignalType.String(): nil,
LinkStartSignalType.String(): nil,
LockSignalType.String(): nil, LockSignalType.String(): nil,
StatusSignalType.String(): nil, StatusSignalType.String(): nil,
ReadSignalType.String(): nil, ReadSignalType.String(): nil,

@ -25,7 +25,6 @@ const (
LockSignalType = SignalType("LOCK") LockSignalType = SignalType("LOCK")
ReadSignalType = SignalType("READ") ReadSignalType = SignalType("READ")
ReadResultSignalType = SignalType("READ_RESULT") ReadResultSignalType = SignalType("READ_RESULT")
LinkStartSignalType = SignalType("LINK_START")
ECDHSignalType = SignalType("ECDH") ECDHSignalType = SignalType("ECDH")
ECDHProxySignalType = SignalType("ECDH_PROXY") ECDHProxySignalType = SignalType("ECDH_PROXY")
ACLTimeoutSignalType = SignalType("ACL_TIMEOUT") ACLTimeoutSignalType = SignalType("ACL_TIMEOUT")
@ -240,14 +239,6 @@ func NewLinkSignal(state string, id NodeID) Signal {
} }
} }
func NewLinkStartSignal(link_type string, target NodeID) Signal {
return &IDStringSignal{
NewBaseSignal(LinkStartSignalType, Direct),
target,
link_type,
}
}
func NewLockSignal(state string) Signal { func NewLockSignal(state string) Signal {
return &StringSignal{ return &StringSignal{
NewBaseSignal(LockSignalType, Direct), NewBaseSignal(LockSignalType, Direct),