Package com.zeroc.Ice

Class Router.GetClientProxyResult

java.lang.Object
com.zeroc.Ice.Router.GetClientProxyResult
Enclosing interface:
Router

public static class Router.GetClientProxyResult extends Object
Holds the result of operation getClientProxy.
  • Field Details

    • returnValue

      public ObjectPrx returnValue
      The router's client proxy.
    • hasRoutingTable

      public Optional<Boolean> hasRoutingTable
      Indicates whether or not the router supports a routing table. If true, the Ice runtime will call RouterPrx.addProxies(com.zeroc.Ice.ObjectPrx[]) to populate the routing table. The Ice runtime assumes the router has a routing table when hasRoutingTable is not set.
  • Constructor Details

    • GetClientProxyResult

      public GetClientProxyResult()
      Default constructor.
    • GetClientProxyResult

      public GetClientProxyResult(ObjectPrx returnValue, Optional<Boolean> hasRoutingTable)
      This constructor makes shallow copies of the results for operation getClientProxy.
      Parameters:
      returnValue - The router's client proxy.
      hasRoutingTable - Indicates whether or not the router supports a routing table. If true, the Ice runtime will call RouterPrx.addProxies(com.zeroc.Ice.ObjectPrx[]) to populate the routing table. The Ice runtime assumes the router has a routing table when hasRoutingTable is not set.
    • GetClientProxyResult

      public GetClientProxyResult(ObjectPrx returnValue, boolean hasRoutingTable)
      This constructor makes shallow copies of the results for operation getClientProxy (overload without Optional parameters).
      Parameters:
      returnValue - The router's client proxy.
      hasRoutingTable - Indicates whether or not the router supports a routing table. If true, the Ice runtime will call RouterPrx.addProxies(com.zeroc.Ice.ObjectPrx[]) to populate the routing table. The Ice runtime assumes the router has a routing table when hasRoutingTable is not set.
  • Method Details

    • write

      public void write(OutputStream ostr)
      Marshals the result for the getClientProxy operation.
      Parameters:
      ostr - the output stream to write this result to
    • read

      public void read(InputStream istr)
      Unmarshals the result of the getClientProxy operation.
      Parameters:
      istr - the input stream to read this result from