Interface RpcMarshalable
- All Known Implementing Classes:
ExternalEnv
public interface RpcMarshalable
Defines the methods required to marshal an arbitrary object
onto a ByteBuffer for the Perforce RPC connection.
-
Method Summary
Modifier and TypeMethodDescriptionvoidmarshal(ByteBuffer buf) Marshal the associated object onto the passed-in ByteBuffer.
-
Method Details
-
marshal
Marshal the associated object onto the passed-in ByteBuffer.- Parameters:
buf- non-null ByteBuffer; should be big enough to take the marshaled object- Throws:
BufferOverflowException- if the passed-in buffer wasn't big enough
-