Package com.yahoo.messagebus.jdisc
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddestroy()voidhandleReply(com.yahoo.messagebus.Reply reply) com.yahoo.jdisc.handler.ContentChannelhandleRequest(com.yahoo.jdisc.Request request, com.yahoo.jdisc.handler.ResponseHandler handler) voidhandleTimeout(com.yahoo.jdisc.Request request, com.yahoo.jdisc.handler.ResponseHandler handler) voidstart()Methods inherited from class com.yahoo.jdisc.AbstractResource
currentState, refer, refer, release, retainCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.jdisc.SharedResource
refer, refer, release
-
Constructor Details
-
Method Details
-
start
public void start()- Specified by:
startin interfacecom.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:
handleRequestin interfacecom.yahoo.jdisc.handler.RequestHandler
-
handleTimeout
public void handleTimeout(com.yahoo.jdisc.Request request, com.yahoo.jdisc.handler.ResponseHandler handler) - Specified by:
handleTimeoutin interfacecom.yahoo.jdisc.handler.RequestHandler
-
destroy
protected void destroy()- Overrides:
destroyin classcom.yahoo.jdisc.AbstractResource
-
handleReply
public void handleReply(com.yahoo.messagebus.Reply reply) - Specified by:
handleReplyin interfacecom.yahoo.messagebus.ReplyHandler
-