completed protobuf protocol for remoting
This commit is contained in:
parent
a4d22af64b
commit
f26110e55c
23 changed files with 795 additions and 385 deletions
|
|
@ -8,12 +8,12 @@ import java.util.concurrent.atomic.AtomicLong
|
|||
import kernel.stm.Transaction
|
||||
import kernel.util.HashCode
|
||||
|
||||
// FIXME: will not work - can clash with other host's requests - need te prepend with hostname
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue