Package com.yahoo.messagebus.jdisc
Class MbusServer
java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.messagebus.jdisc.MbusServer
- All Implemented Interfaces:
com.yahoo.jdisc.service.ServerProvider,com.yahoo.jdisc.SharedResource,com.yahoo.messagebus.MessageHandler
public final class MbusServer
extends com.yahoo.jdisc.AbstractResource
implements com.yahoo.jdisc.service.ServerProvider, com.yahoo.messagebus.MessageHandler
- 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
ConstructorsConstructorDescriptionMbusServer(com.yahoo.jdisc.service.CurrentContainer container, ServerSession session) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voiddestroy()voidhandleMessage(com.yahoo.messagebus.Message msg) booleanvoidstart()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.ServerProvider
-
close
public void close()- Specified by:
closein interfacecom.yahoo.jdisc.service.ServerProvider
-
isMultiplexed
public boolean isMultiplexed()- Specified by:
isMultiplexedin interfacecom.yahoo.jdisc.service.ServerProvider
-
destroy
protected void destroy()- Overrides:
destroyin classcom.yahoo.jdisc.AbstractResource
-
handleMessage
public void handleMessage(com.yahoo.messagebus.Message msg) - Specified by:
handleMessagein interfacecom.yahoo.messagebus.MessageHandler
-
connectionSpec
-