setMethodIdentifier(métodoIdentificador)
|
métodoIdentificador: serie que contiene el tipo de comando.
|
|
COMMAND_ENDSESSION: representa el método endSession.
|
|
COMMAND_GETOFFERS: representa el método getOffers.
|
|
COMMAND_GETPROFILE: representa el método getProfile.
|
|
COMMAND_GETVERSION: representa el método getVersion.
|
|
COMMAND_POSTEVENT: representa el método postEvent.
|
|
COMMAND_SETAUDIENCE: representa el método setAudience.
|
|
COMMAND_SETDEBUG: representa el método setDebug.
|
|
COMMAND_STARTSESSION: representa el método startSession.
|
Command getVersionCommand = new CommandImpl();
getVersionCommand.setMethodIdentifier(Command.COMMAND_GETVERSION);
Command endSessionCommand = new CommandImpl();
endSessionCommand.setMethodIdentifier(Command.COMMAND_ENDSESSION);
Command[] commands =
{
getVersionCommand,
endSessionCommand
};
Copyright IBM Corporation 2014. All Rights Reserved.
|