Package ganymede.server
Class Channel.Control
- java.lang.Object
-
- ganymede.server.Channel
-
- ganymede.server.Channel.Protocol
-
- ganymede.server.Channel.Control
-
- Direct Known Subclasses:
Channel.Shell
- Enclosing class:
- Channel
public abstract static class Channel.Control extends Channel.Protocol
ControlChannelabstract base class. The default implementation ofdispatch(Dispatcher,ZMQ.Socket,Message)constructs areplyskeleton, executes a declared method of the formaction(Dispatcher,Message,Message) throws Exception, catches anyExceptionand updates the reply as necessary, and sends the reply.Bean Property Summary
Name Mode Type isHidden isBound isConstrained dispatcherQueue R Queue<Dispatcher>false false false server R Serverfalse false false socketType R SocketTypefalse false false
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ganymede.server.Channel
Channel.Control, Channel.Heartbeat, Channel.IOPub, Channel.Protocol, Channel.Shell, Channel.Stdin
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(Dispatcher dispatcher, ZMQ.Socket socket, Message message)Callback method to dispatch aMessage.-
Methods inherited from class ganymede.server.Channel.Protocol
dispatch
-
-
-
-
Method Detail
-
dispatch
protected void dispatch(Dispatcher dispatcher, ZMQ.Socket socket, Message message)
Description copied from class:Channel.ProtocolCallback method to dispatch aMessage. Default implementation looks for a declared methodaction(Dispatcher,ZMQ.Socket,Message).- Specified by:
dispatchin classChannel.Protocol- Parameters:
dispatcher- TheDispatcher.socket- TheZMQ.Socket.message- TheMessage.
-
-