/*
* Copyright 1995, 1996 Perforce Software. All rights reserved.
*
* This file is part of Perforce - the FAST SCM System.
*/
/*
* rpctrans.h - buffer I/O to transport
*
* Description:
*
* This is just a layer on NetBuffer, which provides for buffering
* of a raw NetTransport connection. RpcTransport just does
* encapsulation of sized data blocks, ensuring that the exact
* buffer sent is recreated in the receiver.
*/
class RpcTransport : public NetBuffer {
public:
RpcTransport( NetTransport *t ) : NetBuffer( t ) {}
void Send( StrPtr *s, Error *re, Error *se );
int Receive( StrBuf *s, Error *re, Error *se );
// For flow control, himark must include the few extra
// bytes RpcTransport adds to every message.
int SendOverhead() { return 5; }
} ;
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 14945 | Newtopian |
Merging //guest/perforce_software/p4/... to //guest/Newtopian/p4/... |
||
| //guest/perforce_software/p4/2014.1/rpc/rpctrans.h | |||||
| #1 | 12188 | Matt Attaway | Move 'main' p4 into a release specific directory in prep for new releases | ||
| //guest/perforce_software/p4/rpc/rpctrans.h | |||||
| #1 | 9129 | Matt Attaway | Initial commit of the 2014.1 p4/p4api source code | ||