setMethodIdentifier(methodIdentifier)
|
methodIdentifier — Chaîne contenant le type de commande.
|
|
COMMAND_ENDSESSION — Représente la méthode endSession.
|
|
COMMAND_GETOFFERS — Représente la méthode getOffers.
|
|
COMMAND_GETPROFILE — Représente la méthode getProfile.
|
|
COMMAND_GETVERSION — Représente la méthode getVersion.
|
|
COMMAND_POSTEVENT — Représente la méthode postEvent.
|
|
COMMAND_SETAUDIENCE — Représente la méthode setAudience.
|
|
COMMAND_SETDEBUG — Représente la méthode setDebug.
|
|
COMMAND_STARTSESSION — Représente la méthode 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 2013. All Rights Reserved.
|