/* * 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 | 18760 | rlranft |
Populate -o //guest/perforce_software/p4/... //guest/rlranft/p4/.... |
||
//guest/perforce_software/p4/2015-1/rpc/rpctrans.h | |||||
#1 | 15903 | Matt Attaway | Everything should be happy now between the Workshop and the depot paths | ||
//guest/perforce_software/p4/2015_1/rpc/rpctrans.h | |||||
#1 | 15901 | Matt Attaway | Clean up code to fit modern Workshop naming standards | ||
//guest/perforce_software/p4/2015.1/rpc/rpctrans.h | |||||
#1 | 12190 | Matt Attaway | Initial drop of 2015.1 p4/p4api source |