Home | Trees | Index | Help |
---|
Package pyGlobus :: Module io :: Class NetIOAttr |
|
TCPIOAttr
Method Summary | |
---|---|
__init__(self)
| |
__del__(self)
| |
######################################################################## # XXX This handle is only valid as long as this object exists. | |
Get the NetIOAttr's keepAlive | |
Query the linger attribute in the specified attribute set. | |
Query the oobinline attribute in the specified attribute set. | |
Query the rcvbuf attribute in the specified attribute set. | |
Accessor for the NetIOAttr's reuseaddr | |
Query the sndbuf attribute in the specified attribute set. | |
Set the NetIOAttr's keepAlive | |
Set the linger attribute in the specified attribute set. | |
Set the oobinline attribute in the specified attribute set. | |
Set the rcvbuf attribute in the specified attribute set. | |
Set the NetIOAttr's reuseaddr | |
Set the sndbuf attribute in the specified attribute set. |
Method Details |
---|
get_handle(self)######################################################################## # XXX This handle is only valid as long as this object exists. When # the object is destroyed, the memory this handle points to is freed. ####################################################################### |
get_keepalive(self)Get the NetIOAttr's keepAlive |
get_linger(self)Query the linger attribute in the specified attribute set. This attribute is used to determine what to do when data is in the socket's buffer when the socket is closed. If linger is set to true, then the close operation will block until the socket buffers are empty, or the linger_time has expired. **Retuns** Returns the value of the linger attribute, and the time (in seconds) to block at close time if linger is true and data is queed in the socket buffer. |
get_oobinline(self)Query the oobinline attribute in the specified attribute set. This attribute is used to choose whether out-of-band data is received in the normal data queue, or must be received specially by calling globus_io_recv() or globus_io_register_recv() with the MSG_OOB flag set to true.
|
get_rcvbuf(self)Query the rcvbuf attribute in the specified attribute set. This attribute is used to choose the size of the receive buffer for the socket handle this attribute is applied to. The receive buffer is often used by the operating system to choose the appropriate TCP window size.
|
get_reuseaddr(self)Accessor for the NetIOAttr's reuseaddr |
get_sndbuf(self)Query the sndbuf attribute in the specified attribute set. This attribute is used to choose the size of the send buffer for the socket handle this attribute is applied to. The send buffer is often used by the operating system to choose the appropriate TCP window size.
|
set_keepalive(self, keepAlive)Set the NetIOAttr's keepAlive |
set_linger(self, linger, lingerTime)Set the linger attribute in the specified attribute set. This attribute is used to determine what to do when data is in the socket's buffer when the socket is closed. If linger is set to true, then the close operation will block until the socket buffers are empty, or the linger_time has expired.
|
set_oobinline(self, inline)Set the oobinline attribute in the specified attribute set. This attribute is used to choose whether out-of-band data is received in the normal data queue, or must be received specially by calling globus_io_recv() or globus_io_register_recv() with the MSG_OOB flag set to true.
|
set_rcvbuf(self, rcvbuf)Set the rcvbuf attribute in the specified attribute set. This attribute is used to choose the size of the receive buffer for the socket handle this attribute is applied to. The receive buffer is often used by the operating system to choose the appropriate TCP window size.
|
set_reuseaddr(self, reuse)Set the NetIOAttr's reuseaddr |
set_sndbuf(self, sndbuf)Set the sndbuf attribute in the specified attribute set. This attribute is used to choose the size of the send buffer for the socket handle this attribute is applied to. The send buffer is often used by the operating system to choose the appropriate TCP window size.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Apr 4 14:32:53 2006 | http://epydoc.sf.net |