com.perforce.p4java.impl.mapbased.rpc.packet
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 |
void |
marshal(ByteBuffer buf)
Marshal the associated object onto the passed-in ByteBuffer. |
marshal
void marshal(ByteBuffer buf)
throws BufferOverflowException
- 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
Copyright © 2015 Perforce Software. All Rights Reserved.