|
|
@ -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),
|
|
|
|