Interface Finder

All Superinterfaces:
Object

public interface Finder extends Object
Provides access to a TopicManagerPrx object via a fixed identity. An IceStorm Finder is always registered with identity IceStorm/Finder. This allows clients to obtain the associated TopicManager proxy with just the endpoint information of the object. For example, you can use the Finder proxy IceStorm/Finder:tcp -h somehost -p 4061 to get the TopicManager proxy MyIceStorm/TopicManager:tcp -h somehost -p 4061.
  • Method Details

    • getTopicManager

      TopicManagerPrx getTopicManager(Current current)
      Gets a proxy to the associated TopicManagerPrx. The proxy might point to several replicas.
      Parameters:
      current - The Current object of the incoming request.
      Returns:
      The topic manager proxy. This proxy is never null.
    • ice_staticId

      static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::IceStorm::Finder"
    • dispatch

      default CompletionStage<OutgoingResponse> dispatch(IncomingRequest request) throws UserException
      Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.
      Specified by:
      dispatch in interface Object
      Parameters:
      request - the incoming request
      Returns:
      the outgoing response
      Throws:
      UserException - if a UserException is thrown, Ice will marshal it as the response payload.