Constructors
constructor
- new TCPAction(__namedParameters: object): TCPAction
Parameters
-
__namedParameters: object
-
command: string
-
host: string
-
name: string
-
port: number
Properties
__variant__
__variant__: string = "TCPAction"
Methods
toJSON
Returns object
-
__variant__: string
-
command: string
-
host: string
-
name: string | void
-
port: number
Static fromJSON
Parameters
-
json: object
-
command: string
-
host: string
-
Optional name?: string
-
port: number
An Action to send a TCP request
example
new TCPAction({ name:"test", host:"0.0.0.0", port:8124, command:"test" })