C++ TargetRTS
Loading...
Searching...
No Matches
RTTcpOutBuffer.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 __RTTcpOutBuffer_h__
11#define __RTTcpOutBuffer_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTStreamBuffer_h__
18#include <RTStreamBuffer.h>
19#endif
20
21class RTTcpSocket;
22
24{
25public:
26 explicit RTTcpOutBuffer( RTTcpSocket * );
27 virtual ~RTTcpOutBuffer( void );
28
29 virtual int flush( void ) override;
30
31private:
32 RTTcpSocket * socket;
33
34private:
35 // unavailable methods
37 RTTcpOutBuffer & operator=( const RTTcpOutBuffer & );
38}; //lint !e1712
39
40#endif // __RTTcpOutBuffer_h__
Definition: RTStreamBuffer.h:22
Definition: RTTcpOutBuffer.h:24
virtual int flush(void) override
Flushes the data written to the buffer.
Definition: RTTcpSocket.h:24