Class MbusClient

java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.messagebus.jdisc.MbusClient
All Implemented Interfaces:
com.yahoo.jdisc.handler.RequestHandler, com.yahoo.jdisc.service.ClientProvider, com.yahoo.jdisc.SharedResource, com.yahoo.messagebus.ReplyHandler

public final class MbusClient extends com.yahoo.jdisc.AbstractResource implements com.yahoo.jdisc.service.ClientProvider, com.yahoo.messagebus.ReplyHandler
Author:
Simon Thoresen Hult
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.yahoo.jdisc.SharedResource

    com.yahoo.jdisc.SharedResource.Debug
  • Field Summary

    Fields inherited from interface com.yahoo.jdisc.SharedResource

    DEBUG, SYSTEM_PROPERTY_NAME_DEBUG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    handleReply(com.yahoo.messagebus.Reply reply)
     
    com.yahoo.jdisc.handler.ContentChannel
    handleRequest(com.yahoo.jdisc.Request request, com.yahoo.jdisc.handler.ResponseHandler handler)
     
    void
    handleTimeout(com.yahoo.jdisc.Request request, com.yahoo.jdisc.handler.ResponseHandler handler)
     
    void
     

    Methods inherited from class com.yahoo.jdisc.AbstractResource

    currentState, refer, refer, release, retainCount

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.yahoo.jdisc.SharedResource

    refer, refer, release
  • Constructor Details

  • Method Details

    • start

      public void start()
      Specified by:
      start in interface com.yahoo.jdisc.service.ClientProvider
    • handleRequest

      public com.yahoo.jdisc.handler.ContentChannel handleRequest(com.yahoo.jdisc.Request request, com.yahoo.jdisc.handler.ResponseHandler handler)
      Specified by:
      handleRequest in interface com.yahoo.jdisc.handler.RequestHandler
    • handleTimeout

      public void handleTimeout(com.yahoo.jdisc.Request request, com.yahoo.jdisc.handler.ResponseHandler handler)
      Specified by:
      handleTimeout in interface com.yahoo.jdisc.handler.RequestHandler
    • destroy

      protected void destroy()
      Overrides:
      destroy in class com.yahoo.jdisc.AbstractResource
    • handleReply

      public void handleReply(com.yahoo.messagebus.Reply reply)
      Specified by:
      handleReply in interface com.yahoo.messagebus.ReplyHandler