Interface MessageInterface
- 
 public interface MessageInterface
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMessageReciever(java.lang.String protocol, MessageReceiver recv)java.io.SerializablesendCall(java.lang.String protocol, int scope, java.io.Serializable msg)Sends a synchronous message.voidsendMessage(java.lang.String protocol, int scope, java.io.Serializable msg)Sends an asynchronous message
 
- 
- 
- 
Method Detail- 
addMessageRecievervoid addMessageReciever(java.lang.String protocol, MessageReceiver recv)
 - 
sendMessagevoid sendMessage(java.lang.String protocol, int scope, java.io.Serializable msg) throws java.lang.ExceptionSends an asynchronous message- Throws:
- java.lang.Exception
 
 - 
sendCalljava.io.Serializable sendCall(java.lang.String protocol, int scope, java.io.Serializable msg) throws java.lang.ExceptionSends a synchronous message. If any reciever throws an exception, then that exception will be re-thrown on the sender's side. If all receivers succeed, one of their repsonses will be chosen- Throws:
- java.lang.Exception
 
 
- 
 
-