Package com.zeroc.Ice
Class EndpointInfo
java.lang.Object
com.zeroc.Ice.EndpointInfo
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
EndpointInfo
,EndpointInfo
,IPEndpointInfo
,OpaqueEndpointInfo
,WSEndpointInfo
Base class providing access to the endpoint details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
Specifies whether or not compression should be used if available when using this endpoint.int
The timeout for the endpoint in milliseconds.The information of the underyling endpoint of null if there's no underlying endpoint. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
underlying
The information of the underyling endpoint of null if there's no underlying endpoint. -
timeout
public int timeoutThe timeout for the endpoint in milliseconds. 0 means non-blocking, -1 means no timeout. -
compress
public boolean compressSpecifies whether or not compression should be used if available when using this endpoint.
-
-
Constructor Details
-
EndpointInfo
public EndpointInfo() -
EndpointInfo
-
-
Method Details
-
type
public abstract short type()Returns the type of the endpoint.- Returns:
- The endpoint type.
-
datagram
public abstract boolean datagram()Returns true if this endpoint is a datagram endpoint.- Returns:
- True for a datagram endpoint.
-
secure
public abstract boolean secure()Returns true if this endpoint is a secure endpoint.- Returns:
- True for a secure endpoint.
-
clone
-