public static class Network.CreateChannel extends Command<Network.CommandId,Network.CreateChannelResponse>
Command.State| Constructor and Description |
|---|
CreateChannel(java.lang.String name,
java.lang.String metadata,
int maxStreams)
The constructor for this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
getCommandId, setTimeoutpublic CreateChannel(java.lang.String name,
java.lang.String metadata,
int maxStreams)
name - The name of the channels that has to be createdmetadata - The metadata of the channel that has to be createdmaxStreams - Max number of streams this channel can contain before killing previous onespublic java.lang.String toString()
toString in class Command<Network.CommandId,Network.CreateChannelResponse>