Codemesh Runtime v3 C++ API Reference  3.9.205
xmog_i_comm_tcp.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3 //
4 
5 // -*- C++ -*-
6 
7 //==========================================================================
15 //==========================================================================
16 
17 #ifndef __XMOG_I_COMM_TCP_H
18 #define __XMOG_I_COMM_TCP_H
19 
20 #include "ace/SOCK_Stream.h"
21 
22 #include "xmog_i_comm_strategy.h"
23 
31 {
32 public:
47  virtual int connect (const ACE_TCHAR *dest,
48  const ACE_Time_Value *timeout = 0);
49 
53  virtual void disconnect (void);
54 
65  virtual int send (ACE_Message_Block &b);
66 
77  virtual int recv (ACE_Message_Block &b);
78 
83  virtual ACE_HANDLE get_handle (void);
84 
85 private:
86  ACE_SOCK_Stream sock_;
87 };
88 
89 #endif /* __XMOG_I_COMM_STRATEGY_H */
xmog_i_comm_tcp
Defines the TCP/IP communications strategy that xmog_jvm uses to communicate with a server.
Definition: xmog_i_comm_tcp.h:30
xmog_i_comm_tcp::recv
virtual int recv(ACE_Message_Block &b)
xmog_i_comm_tcp::send
virtual int send(ACE_Message_Block &b)
xmog_i_comm_tcp::connect
virtual int connect(const ACE_TCHAR *dest, const ACE_Time_Value *timeout=0)
xmog_i_comm_strategy
Defines the interface that xmog_jvm uses to communicate with a server.
Definition: xmog_i_comm_strategy.h:36
xmog_i_comm_tcp::disconnect
virtual void disconnect(void)
xmog_i_comm_tcp::get_handle
virtual ACE_HANDLE get_handle(void)
xmog_i_comm_strategy.h

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.