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

public abstract class EndpointInfo extends Object implements Cloneable
Base class providing access to the endpoint details.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    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
    Constructor
    Description
     
    EndpointInfo(EndpointInfo underlying, int timeout, boolean compress)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    abstract boolean
    Returns true if this endpoint is a datagram endpoint.
    abstract boolean
    Returns true if this endpoint is a secure endpoint.
    abstract short
    Returns the type of the endpoint.

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • underlying

      public EndpointInfo underlying
      The information of the underyling endpoint of null if there's no underlying endpoint.
    • timeout

      public int timeout
      The timeout for the endpoint in milliseconds. 0 means non-blocking, -1 means no timeout.
    • compress

      public boolean compress
      Specifies whether or not compression should be used if available when using this endpoint.
  • Constructor Details

    • EndpointInfo

      public EndpointInfo()
    • EndpointInfo

      public EndpointInfo(EndpointInfo underlying, int timeout, boolean compress)
  • 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

      public EndpointInfo clone()
      Overrides:
      clone in class Object