Module netutils :: Class Endpoint
[hide private]

Class Endpoint

source code

Instance Methods [hide private]
 
__init__(self, port, protocol, address, isListen=0, portType=None) source code
 
getPort(self) source code
 
getAddress(self) source code
 
isListen(self) source code
 
getPortType(self) source code
 
getProtocolType(self) source code
 
__repr__(self) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__hash__(self) source code
Method Details [hide private]

__init__(self, port, protocol, address, isListen=0, portType=None)
(Constructor)

source code 
Raises:
  • ValueError - Port is not specified
  • ValueError - Protocol is incorrect
  • ValueError - Address is not specified