com.twistedmatrix.spread.pb
Interface Referenceable
- All Known Implementing Classes:
- SimpleReferenceable
- public interface Referenceable
An object that can be referenced by remote peers.
remoteMessageReceived
public void remoteMessageReceived(Broker broker,
ByteString message,
java.lang.Object[] args,
PrimitiveMap kwargs,
Callback response)
- Handle a message from a remote client.
The result or error of whatever we do to handle the message should be
passed to the Callback response.
remoteSerialize
public java.lang.Object[] remoteSerialize(Broker broker)
- Serialize myself so I can be sent to the remote peer.