new TransportStream()
Methods
-
attach(socket)
-
Attach a socket to this stream
Parameters:
Name Type Description socket
* -
command(command, …args) → {*}
-
A subtype-safe way to execute commands on a specific type of stream that invalid types will ignore. For given input for command (example,
"someCommand"
ill look for a method calledexecuteSomeCommand
on theTransportStream
Parameters:
Name Type Attributes Description command
string args
* <repeatable>
Returns:
*