Package com.yahoo.messagebus.shared
Class SharedMessageBus
java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.messagebus.shared.SharedMessageBus
- All Implemented Interfaces:
com.yahoo.jdisc.SharedResource
public class SharedMessageBus
extends com.yahoo.jdisc.AbstractResource
- 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()com.yahoo.messagebus.MessageBusnewDestinationSession(com.yahoo.messagebus.DestinationSessionParams params) static SharedMessageBusnewInstance(com.yahoo.messagebus.MessageBusParams mbusParams, com.yahoo.messagebus.network.rpc.RPCNetworkParams netParams) newIntermediateSession(com.yahoo.messagebus.IntermediateSessionParams params) newSourceSession(com.yahoo.messagebus.SourceSessionParams params) Methods inherited from class com.yahoo.jdisc.AbstractResource
currentState, refer, refer, release, retainCount
-
Constructor Details
-
SharedMessageBus
public SharedMessageBus(com.yahoo.messagebus.MessageBus mbus)
-
-
Method Details
-
messageBus
public com.yahoo.messagebus.MessageBus messageBus() -
destroy
protected void destroy()- Overrides:
destroyin classcom.yahoo.jdisc.AbstractResource
-
newSourceSession
-
newIntermediateSession
public SharedIntermediateSession newIntermediateSession(com.yahoo.messagebus.IntermediateSessionParams params) -
newDestinationSession
public SharedDestinationSession newDestinationSession(com.yahoo.messagebus.DestinationSessionParams params) -
newInstance
public static SharedMessageBus newInstance(com.yahoo.messagebus.MessageBusParams mbusParams, com.yahoo.messagebus.network.rpc.RPCNetworkParams netParams)
-