Ice.EndpointInfo

class Ice.EndpointInfo

Bases: object

Base class for the endpoint info classes.

compress

Specifies whether or not compression should be used if available when using this endpoint.

Type:

bool

datagram() bool

Returns whether this endpoint is a datagram endpoint (namely, UDP).

Returns:

True for a UDP endpoint, False otherwise.

Return type:

bool

secure() bool

Returns whether this endpoint uses SSL.

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

The information of the underlying endpoint or None if there’s no underlying endpoint.

Type:

Ice.EndpointInfo | None