Package com.yahoo.messagebus.shared
Class SharedDestinationSession
java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.messagebus.shared.SharedDestinationSession
- All Implemented Interfaces:
com.yahoo.jdisc.SharedResource,com.yahoo.messagebus.Connectable,com.yahoo.messagebus.MessageHandler,ServerSession
public class SharedDestinationSession
extends com.yahoo.jdisc.AbstractResource
implements com.yahoo.messagebus.MessageHandler, ServerSession
- 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()protected voiddestroy()voidcom.yahoo.messagebus.MessageHandlervoidhandleMessage(com.yahoo.messagebus.Message msg) name()voidsendReply(com.yahoo.messagebus.Reply reply) com.yahoo.messagebus.DestinationSessionsession()voidsetMessageHandler(com.yahoo.messagebus.MessageHandler msgHandler) 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
-
Method Details
-
session
public com.yahoo.messagebus.DestinationSession session() -
sendReply
public void sendReply(com.yahoo.messagebus.Reply reply) - Specified by:
sendReplyin interfaceServerSession
-
getMessageHandler
public com.yahoo.messagebus.MessageHandler getMessageHandler()- Specified by:
getMessageHandlerin interfaceServerSession
-
setMessageHandler
public void setMessageHandler(com.yahoo.messagebus.MessageHandler msgHandler) - Specified by:
setMessageHandlerin interfaceServerSession
-
handleMessage
public void handleMessage(com.yahoo.messagebus.Message msg) - Specified by:
handleMessagein interfacecom.yahoo.messagebus.MessageHandler
-
connectionSpec
- Specified by:
connectionSpecin interfaceServerSession
-
name
- Specified by:
namein interfaceServerSession
-
connect
public void connect()- Specified by:
connectin interfacecom.yahoo.messagebus.Connectable
-
disconnect
public void disconnect()- Specified by:
disconnectin interfacecom.yahoo.messagebus.Connectable
-
destroy
protected void destroy()- Overrides:
destroyin classcom.yahoo.jdisc.AbstractResource
-