Package | org.samchon.protocol.invoke |
Class | public class InvokeParameter |
Inheritance | InvokeParameter ![]() ![]() |
Standard message of network I/O.
Invoke is a class used in network I/O in protocol package of Samchon Framework.
The Invoke message has a XML structure like the result screen of provided example in below. We can enjoy lots of benefits by the normalized and standardized message structure used in network I/O.
The greatest advantage is that we can make any type of network system, even how the system is enourmously complicated. As network communication message is standardized, we only need to concentrate on logical relationships between network systems. We can handle each network system like a object (class) in OOD. And those relationships can be easily designed by using design pattern.
In Samchon Framework, you can make any type of network system with basic 3 + 1 componenets (IProtocol, IServer and IClient + ServerConnector), by implemens or inherits them, like designing classes of S/W architecture.
Property | Defined By | ||
---|---|---|---|
![]() | key : * [read-only] | Entity | |
TAG : String [override] [read-only] | InvokeParameter |
Method | Defined By | ||
---|---|---|---|
InvokeParameter(... args)
Constructors. | InvokeParameter | ||
![]() | construct(xml:XML):void | Entity | |
getName():String | InvokeParameter | ||
getType():String | InvokeParameter | ||
getValue():* | InvokeParameter | ||
setValue(value:*):void | InvokeParameter | ||
toXML():XML [override] | InvokeParameter |
TAG | property |
TAG:String
[read-only] [override] public function get TAG():String
InvokeParameter | () | Constructor |
public function InvokeParameter(... args)
Constructors.
---- InvokeParameter(xml:XML) ---- InvokeParameter(name:String, value:_Ty) ---- InvokeParameter(name:String, type:String, value:String) Parameters... args |
getName | () | method |
public function getName():String
ReturnsString |
getType | () | method |
public function getType():String
ReturnsString |
getValue | () | method |
public function getValue():*
Returns* |
setValue | () | method |
public function setValue(value:*):void
Parameters
value:* |
toXML | () | method |
override public function toXML():XML
ReturnsXML |