public interface RuntimeChannel
extends java.rmi.Remote
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRuntimeName()
Returns the runtime name.
|
boolean |
isActive()
Returns true if the runtime referred to by this channel is active.
|
void |
publish(byte[] payload)
Publishes a message to the runtime.
|
void |
send(byte[] payload)
Sends one-way command to the runtime.
|
byte[] |
sendSynchronous(byte[] payload)
Sends a request-response command to the runtime.
|
boolean isActive()
java.lang.String getRuntimeName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a remote communication error occursbyte[] sendSynchronous(byte[] payload)
throws java.rmi.RemoteException,
ChannelException
payload - the serialized commandjava.rmi.RemoteException - if a remote communication error occursChannelException - if an error processing the message occursvoid send(byte[] payload)
throws java.rmi.RemoteException,
ChannelException
payload - the serialized commandjava.rmi.RemoteException - if a remote communication error occursChannelException - if an error processing the message occursvoid publish(byte[] payload)
throws java.rmi.RemoteException,
ChannelException
payload - the serialized messagejava.rmi.RemoteException - if a remote communication error occursChannelException - if an error processing the message occurs