java.lang.Object
com.zeroc.Ice.EndpointInfo
- Direct Known Subclasses:
EndpointInfo
,EndpointInfo
,IPEndpointInfo
,OpaqueEndpointInfo
,WSEndpointInfo
Base class providing access to the endpoint details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
Specifies whether or not compression should be used if available when using this endpoint.final EndpointInfo
The information of the underlying endpoint or null if there's no underlying endpoint. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
EndpointInfo
(boolean compress) Constructs an EndpointInfo with the specified compression flag.protected
EndpointInfo
(EndpointInfo underlying) Constructs an EndpointInfo with an underlying endpoint. -
Method Summary
-
Field Details
-
underlying
The information of the underlying endpoint or null if there's no underlying endpoint. -
compress
public final boolean compressSpecifies whether or not compression should be used if available when using this endpoint.
-
-
Constructor Details
-
EndpointInfo
Constructs an EndpointInfo with an underlying endpoint.- Parameters:
underlying
- The underlying EndpointInfo. Must not be null.
-
EndpointInfo
protected EndpointInfo(boolean compress) Constructs an EndpointInfo with the specified compression flag.- Parameters:
compress
- True if compression should be used if available.
-
-
Method Details
-
type
public short type()Returns the type of the endpoint.- Returns:
- The endpoint type.
-
datagram
public boolean datagram()Returns true if this endpoint is a datagram endpoint.- Returns:
- True for a datagram endpoint.
-
secure
public boolean secure()- Returns:
- True for a secure endpoint.
-