3 // $Id: SOCK_SEQPACK_Association.inl 80826 2008-03-04 14:51:23Z wotte $
5 #include "ace/SOCK_SEQPACK_Association.h"
6 #include "ace/OS_NS_sys_socket.h"
8 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
11 ACE_SOCK_SEQPACK_Association::ACE_SOCK_SEQPACK_Association (void)
13 // ACE_TRACE ("ACE_SOCK_SEQPACK_Association::ACE_SOCK_SEQPACK_Association");
17 ACE_SOCK_SEQPACK_Association::ACE_SOCK_SEQPACK_Association (ACE_HANDLE h)
19 // ACE_TRACE ("ACE_SOCK_SEQPACK_Association::ACE_SOCK_SEQPACK_Association");
24 ACE_SOCK_SEQPACK_Association::~ACE_SOCK_SEQPACK_Association (void)
26 // ACE_TRACE ("ACE_SOCK_SEQPACK_Association::~ACE_SOCK_SEQPACK_Association");
30 ACE_SOCK_SEQPACK_Association::close_reader (void)
32 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::close_reader");
33 if (this->get_handle () != ACE_INVALID_HANDLE)
34 return ACE_OS::shutdown (this->get_handle (), ACE_SHUTDOWN_READ);
39 // Shut down just the writing end of a ACE_SOCK.
42 ACE_SOCK_SEQPACK_Association::close_writer (void)
44 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::close_writer");
45 if (this->get_handle () != ACE_INVALID_HANDLE)
46 return ACE_OS::shutdown (this->get_handle (), ACE_SHUTDOWN_WRITE);
52 ACE_SOCK_SEQPACK_Association::recv_n (void *buf,
55 const ACE_Time_Value *timeout,
56 size_t *bytes_transferred) const
58 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::recv_n");
59 return ACE::recv_n (this->get_handle (),
68 ACE_SOCK_SEQPACK_Association::recv_n (void *buf,
70 const ACE_Time_Value *timeout,
71 size_t *bytes_transferred) const
73 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::recv_n");
74 return ACE::recv_n (this->get_handle (),
82 ACE_SOCK_SEQPACK_Association::recvv_n (iovec iov[],
84 const ACE_Time_Value *timeout,
85 size_t *bytes_transferred) const
87 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::recvv_n");
88 return ACE::recvv_n (this->get_handle (),
96 ACE_SOCK_SEQPACK_Association::send_n (const void *buf,
99 const ACE_Time_Value *timeout,
100 size_t *bytes_transferred) const
102 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::send_n");
103 return ACE::send_n (this->get_handle (),
112 ACE_SOCK_SEQPACK_Association::send_n (const void *buf,
114 const ACE_Time_Value *timeout,
115 size_t *bytes_transferred) const
117 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::send_n");
118 return ACE::send_n (this->get_handle (),
126 ACE_SOCK_SEQPACK_Association::sendv_n (const iovec iov[],
128 const ACE_Time_Value *timeout,
129 size_t *bytes_transferred) const
131 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::sendv_n");
132 return ACE::sendv_n (this->get_handle (),
140 ACE_SOCK_SEQPACK_Association::send_n (const ACE_Message_Block *message_block,
141 const ACE_Time_Value *timeout,
142 size_t *bytes_transferred) const
144 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::send_n");
145 return ACE::send_n (this->get_handle (),
152 ACE_SOCK_SEQPACK_Association::send_urg (const void *ptr,
154 const ACE_Time_Value *timeout) const
156 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::send_urg");
157 return ACE::send (this->get_handle (),
165 ACE_SOCK_SEQPACK_Association::recv_urg (void *ptr,
167 const ACE_Time_Value *timeout) const
169 ACE_TRACE ("ACE_SOCK_SEQPACK_Association::recv_urg");
170 return ACE::recv (this->get_handle (),
177 ACE_END_VERSIONED_NAMESPACE_DECL