/*
* 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
|
10695 |
DWishR |
Populate //guest/DWishR/p4api/.... |
|
|
//guest/perforce_software/p4/rpc/rpctrans.h |
#1
|
9129 |
matt_attaway |
Initial commit of the 2014.1 p4/p4api source code |
|
|