/* * Copyright 2009 Perforce Software Inc., All Rights Reserved. */ package com.perforce.p4java.impl.mapbased.rpc.packet; import java.nio.BufferOverflowException; import java.nio.ByteBuffer; /** * Defines the methods required to marshal an arbitrary object * onto a ByteBuffer for the Perforce RPC connection. * * */ public interface RpcMarshalable { /** * Marshal the associated object onto the passed-in ByteBuffer. * * @param buf non-null ByteBuffer; should be big enough to take the marshaled object * @throws BufferOverflowException if the passed-in buffer wasn't big enough */ void marshal(ByteBuffer buf) throws BufferOverflowException; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19903 | stuartrowe |
Branching //guest/perforce_software/p4java/... to //guest/stuartrowe/p4java/... |
||
//guest/perforce_software/p4java/r14.1/src/main/java/com/perforce/p4java/impl/mapbased/rpc/packet/RpcMarshalable.java | |||||
#1 | 12541 | Matt Attaway | Initial add of the 14.1 p4java source code |