Home | Trees | Index | Help |
---|
Package pyGlobus :: Module io :: Class TCPIOAttr |
|
NetIOAttr
--+
|
TCPIOAttr
Method Summary | |
---|---|
__init__(self,
handle)
| |
__del__(self)
| |
Query the authentication mode attribute in the specified socket attribute set. | |
Query the authorization-mode attribute in the specified socket attribute set. | |
Set the channel-mode attribute in the specified socket attribute set. | |
Set the of the delegation-mode attribute in the specified socket attribute set. | |
Query the tcp interface attribute in the specified TCP attribute set. | |
Query the nodelay attribute in the specified TCP attribute set. | |
Query the protection-mode attribute in the specified socket attribute set. | |
Query the restrict-port attribute in the specified TCP attribute set. | |
Set the authentication mode attribute in the specified socket attribute set. | |
Set the authorization-mode attribute in the specified socket attribute set. | |
Set the channel-mode attribute in the specified socket attribute set. | |
Set the of the delegation-mode attribute in the specified socket attribute set. | |
Set the tcp interface attribute in the specified TCP attribute set. | |
Set the nodelay attribute in the specified TCP attribute set. | |
Set the protection-mode attribute in the specified socket attribute set. | |
Set the restrict-port attribute in the specified TCP attribute set. | |
Inherited from NetIOAttr | |
######################################################################## # 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_authentication_mode(self)Query the authentication mode attribute in the specified socket attribute set. This attribute is used to determine whether or not to call the GSSAPI security context establishment functions once a socket connection is established. If the authentication_mode value is GLOBUS_IO_SECURE_AUTHENTICATION_MODE_NONE, then the channel mode, delegation mode, protection mode, and authorization mode will all be reset to disable all security on the socket attribute set.
|
get_authorization_mode(self)Query the authorization-mode attribute in the specified socket attribute set. This attribute is used to determine what security identities to authorize as the peer to the security handshake done when making an authenticated connection.
|
get_channel_mode(self)Set the channel-mode attribute in the specified socket attribute set. This attribute is used to determine if any data wrapping should be done on the socket connection. This is required to use the data protection attribute.
|
get_delegation_mode(self)Set the of the delegation-mode attribute in the specified socket attribute set. This attribute is used to determine whether the process's credentials should be delegated to the other side of the connection.
|
get_interface(self)Query the tcp interface attribute in the specified TCP attribute set. This attribute is used to determine whether to bind TCP sockets to a particular interface. This attribute must be set before calling globus_io_tcp_create_listener() or globus_io_tcp_connect().
|
get_nodelay(self)Query the nodelay attribute in the specified TCP attribute set. This attribute is used to determine whether or not to disable Nagle's algorithm.
|
get_protection_mode(self)Query the protection-mode attribute in the specified socket attribute set. This attribute is used to determine if any data protection should be done on the socket connection.
|
get_restrict_port(self)Query the restrict-port attribute in the specified TCP attribute set. This attribute is used to determine whether or not to use the GLOBUS_TCP_PORT_RANGE environment variable to choose an anonymous port for a TCP listener handle. This attribute may not be applied to an existing TCP handle.
|
set_authentication_mode(self, mode, cred=None)Set the authentication mode attribute in the specified socket attribute set. This attribute is used to determine whether or not to call the GSSAPI security context establishment functions once a socket connection is established. If the authentication_mode value is GLOBUS_IO_SECURE_AUTHENTICATION_MODE_NONE, then the channel mode, delegation mode, protection mode, and authorization mode will all be reset to disable all security on the socket attribute set.
|
set_authorization_mode(self, mode, authData)Set the authorization-mode attribute in the specified socket attribute set. This attribute is used to determine what security identities to authorize as the peer to the security handshake done when making an authenticated connection.
|
set_channel_mode(self, mode)Set the channel-mode attribute in the specified socket attribute set. This attribute is used to determine if any data wrapping should be done on the socket connection. This is required to use the data protection attribute.
|
set_delegation_mode(self, mode)Set the of the delegation-mode attribute in the specified socket attribute set. This attribute is used to determine whether the process's credentials should be delegated to the other side of the connection.
|
set_interface(self, interface)Set the tcp interface attribute in the specified TCP attribute set. This attribute is used to determine whether to bind TCP sockets to a particular interface. This attribute must be set before calling globus_io_tcp_create_listener() or globus_io_tcp_connect().
|
set_nodelay(self, nodelay)Set the nodelay attribute in the specified TCP attribute set. This attribute is used to determine whether or not to disable Nagle's algorithm.
|
set_protection_mode(self, mode)Set the protection-mode attribute in the specified socket attribute set. This attribute is used to determine if any data protection should be done on the socket connection.
|
set_restrict_port(self, restrict)Set the restrict-port attribute in the specified TCP attribute set. This attribute is used to determine whether or not to use the GLOBUS_TCP_PORT_RANGE environment variable to choose an anonymous port for a TCP listener handle. This attribute may not be applied to an existing TCP handle.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Apr 4 14:32:56 2006 | http://epydoc.sf.net |