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 Type
    Method
    Description
    void
    Marshal the associated object onto the passed-in ByteBuffer.
  • Method Details

    • 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