|
|
|
@ -25,7 +25,6 @@ const (
|
|
|
|
|
LockSignalType = SignalType("LOCK")
|
|
|
|
|
ReadSignalType = SignalType("READ")
|
|
|
|
|
ReadResultSignalType = SignalType("READ_RESULT")
|
|
|
|
|
LinkStartSignalType = SignalType("LINK_START")
|
|
|
|
|
ECDHSignalType = SignalType("ECDH")
|
|
|
|
|
ECDHProxySignalType = SignalType("ECDH_PROXY")
|
|
|
|
|
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 {
|
|
|
|
|
return &StringSignal{
|
|
|
|
|
NewBaseSignal(LockSignalType, Direct),
|
|
|
|
|