public class Command extends Object
Constructor and Description |
---|
Command(InputStream commandInputStream,
int commandId) |
Modifier and Type | Method and Description |
---|---|
int |
getCommandId()
Returns command identifier
|
InputStream |
getCommandInputStream()
Returns commandInputStream.
|
public Command(InputStream commandInputStream, int commandId)
commandInputStream
- InputStream that contains the command and its metadatacommandId
- command identifierpublic int getCommandId()
public InputStream getCommandInputStream()