2 #include "ace/SOCK_SEQPACK_Association.h"
3 #include "ace/OS_NS_sys_socket.h"
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
8 ACE_SOCK_SEQPACK_Association::ACE_SOCK_SEQPACK_Association ()
10 // ACE_TRACE ("ACE_SOCK_SEQPACK_Association::ACE_SOCK_SEQPACK_Association");
14 ACE_SOCK_SEQPACK_Association::ACE_SOCK_SEQPACK_Association (ACE_HANDLE h)
16 // ACE_TRACE ("ACE_SOCK_SEQPACK_Association::ACE_SOCK_SEQPACK_Association");
21 ACE_SOCK_SEQPACK_Association::~ACE_SOCK_SEQPACK_Association ()
23 // ACE_TRACE ("ACE_SOCK_SEQPACK_Association::~ACE_SOCK_SEQPACK_Association");
27 ACE_SOCK_SEQPACK_Association::close_reader ()
29 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::close_reader");
30 if (this->get_handle () != ACE_INVALID_HANDLE)
31 return ACE_OS::shutdown (this->get_handle (), ACE_SHUTDOWN_READ);
36 // Shut down just the writing end of a ACE_SOCK.
39 ACE_SOCK_SEQPACK_Association::close_writer ()
41 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::close_writer");
42 if (this->get_handle () != ACE_INVALID_HANDLE)
43 return ACE_OS::shutdown (this->get_handle (), ACE_SHUTDOWN_WRITE);
49 ACE_SOCK_SEQPACK_Association::recv_n (void *buf,
52 const ACE_Time_Value *timeout,
53 size_t *bytes_transferred) const
55 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::recv_n");
56 return ACE::recv_n (this->get_handle (),
65 ACE_SOCK_SEQPACK_Association::recv_n (void *buf,
67 const ACE_Time_Value *timeout,
68 size_t *bytes_transferred) const
70 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::recv_n");
71 return ACE::recv_n (this->get_handle (),
79 ACE_SOCK_SEQPACK_Association::recvv_n (iovec iov[],
81 const ACE_Time_Value *timeout,
82 size_t *bytes_transferred) const
84 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::recvv_n");
85 return ACE::recvv_n (this->get_handle (),
93 ACE_SOCK_SEQPACK_Association::send_n (const void *buf,
96 const ACE_Time_Value *timeout,
97 size_t *bytes_transferred) const
99 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::send_n");
100 return ACE::send_n (this->get_handle (),
109 ACE_SOCK_SEQPACK_Association::send_n (const void *buf,
111 const ACE_Time_Value *timeout,
112 size_t *bytes_transferred) const
114 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::send_n");
115 return ACE::send_n (this->get_handle (),
123 ACE_SOCK_SEQPACK_Association::sendv_n (const iovec iov[],
125 const ACE_Time_Value *timeout,
126 size_t *bytes_transferred) const
128 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::sendv_n");
129 return ACE::sendv_n (this->get_handle (),
137 ACE_SOCK_SEQPACK_Association::send_n (const ACE_Message_Block *message_block,
138 const ACE_Time_Value *timeout,
139 size_t *bytes_transferred) const
141 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::send_n");
142 return ACE::send_n (this->get_handle (),
149 ACE_SOCK_SEQPACK_Association::send_urg (const void *ptr,
151 const ACE_Time_Value *timeout) const
153 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::send_urg");
154 return ACE::send (this->get_handle (),
162 ACE_SOCK_SEQPACK_Association::recv_urg (void *ptr,
164 const ACE_Time_Value *timeout) const
166 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::recv_urg");
167 return ACE::recv (this->get_handle (),
174 ACE_END_VERSIONED_NAMESPACE_DECL