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
Control
Channel
abstract base class. The default implementation ofdispatch(Dispatcher,ZMQ.Socket,Message)
constructs areply
skeleton, executes a declared method of the formaction(Dispatcher,Message,Message) throws Exception
, catches anyException
and 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 Server
false false false socketType R SocketType
false 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 void
dispatch(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.Protocol
Callback method to dispatch aMessage
. Default implementation looks for a declared methodaction(Dispatcher,ZMQ.Socket,Message)
.- Specified by:
dispatch
in classChannel.Protocol
- Parameters:
dispatcher
- TheDispatcher
.socket
- TheZMQ.Socket
.message
- TheMessage
.
-
-