Ice.EndpointInfo

class Ice.EndpointInfo

Bases: object

Base class for all endpoint info classes.

Provides access to the endpoint details. Endpoint info classes are used to get information about the endpoints that a connection or proxy uses.

compress

compression status

Type:

bool

datagram() bool

Returns True if this endpoint’s transport is a datagram transport (namely, UDP), False otherwise.

Returns:

True for a UDP endpoint, False otherwise.

Return type:

bool

secure() bool

Returns True if this endpoint’s transport uses SSL, False otherwise.

Returns:

True for SSL and SSL-based transports, False otherwise.

Return type:

bool

type() int

Returns the type of the endpoint.

Returns:

The endpoint type.

Return type:

int

underlying

underlying endpoint information

Type:

Ice.EndpointInfo | None