C++ TargetRTS
Loading...
Searching...
No Matches
RTTcpInBuffer.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTTcpInBuffer_h__
11#define __RTTcpInBuffer_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTIBuffer_h__
18#include <RTIBuffer.h>
19#endif
20
21class RTTcpSocket;
22
24{
25public:
26 explicit RTTcpInBuffer( RTTcpSocket * );
27 virtual ~RTTcpInBuffer( void );
28
29 virtual int get( char & ) override;
30
31private:
32 RTTcpSocket * socket;
33 int get_offset;
34 int put_offset;
35 char buffer[ 80 ];
36
37private:
38 // unavailable methods
40 RTTcpInBuffer & operator=( const RTTcpInBuffer & );
41}; //lint !e1712
42
43#endif // __RTTcpInBuffer_h__
Definition: RTIBuffer.h:22
Definition: RTTcpInBuffer.h:24
Definition: RTTcpSocket.h:24