Package | org.samchon.protocol.invoke |
Interface | public interface IProtocol |
Implementors | ServerConnector, SubMovieTitleWindow, TitleWindow, Window |
An interface for Invoke message chain.
IProtocol is an interface for Invoke message, which is standard message of network I/O in Samchon Framework, chain. The IProtocol interface is used to network drivers and some classes which are in a relationship of chain of responsibility with those network drivers.
In Samchon Framework, server side, IProtocol is one of the basic 3 + 1 components that can make any type of network system in Samchon Framework with IServer and IClient. Following the "chain of responsibility" pa1ttern, looking around classes in Samchon Framework, you can see all related classes with network I/O are implemented from the IProtocol.
See also
Method | Defined By | ||
---|---|---|---|
Send a message. | IProtocol | ||
Reply a message. | IProtocol |
replyData | () | method |
public function replyData(invoke:Invoke):void
Send a message.
Sends Invoke message to a network system or shifts the responsibility to related chain.
Parameters
invoke:Invoke — An Invoke message to send to a network system.
|
sendData | () | method |
public function sendData(invoke:Invoke):void
Reply a message.
Handles replied Invoke message or shifts the responsibility to related chain.
Parameters
invoke:Invoke |