mid hacking of protobuf nio protocol
This commit is contained in:
parent
22bd4f54e9
commit
a4d22af64b
21 changed files with 1682 additions and 336 deletions
|
|
@ -8,13 +8,13 @@ import java.util.concurrent.atomic.AtomicLong
|
|||
import kernel.stm.Transaction
|
||||
import kernel.util.HashCode
|
||||
|
||||
object IdFactory {
|
||||
object RemoteRequestIdFactory {
|
||||
private val id = new AtomicLong
|
||||
def nextId = id.getAndIncrement
|
||||
}
|
||||
|
||||
@serializable class ProxyWrapper(val proxyName: String)
|
||||
|
||||
/*
|
||||
@serializable class RemoteRequest(val message: AnyRef,
|
||||
val method: String,
|
||||
val target: String,
|
||||
|
|
@ -103,4 +103,5 @@ object IdFactory {
|
|||
that.asInstanceOf[RemoteRequest].supervisorUuid.isDefined == supervisorUuid.isDefined &&
|
||||
that.asInstanceOf[RemoteRequest].supervisorUuid.get == supervisorUuid.get
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue