Package deltavsoft :: Module rcfproto :: Class TcpEndpoint |
[frames] | no frames]

# Class TcpEndpoint

source code

    _object --+
              |
       Endpoint --+
                  |
                 TcpEndpoint

Known Subclasses:
  - HttpEndpoint
  - , HttpsEndpoint

Represents a TCP endpoint.

Instance Methods
__init__(self, *args) Constructs a TcpEndpoint from a port number. | source code
GetIp(self) Gets the IP address of the TcpEndpoint. | source code
GetPort(self) Gets the port number of the TcpEndpoint. | source code
AsString(self) Returns a string representation of the TcpEndpoint. | source code

Method Details

### __init__(self, *args) (Constructor) | source code
Constructs a TcpEndpoint from a port number. The IP address defaults to 127.0.0.1 . Overrides: Endpoint.__init__