setMethodIdentifier(methodIdentifier)
    |   | methodIdentifier—a string containing the type of command. | 
|   | COMMAND_ENDSESSION—represents the endSession method. | 
|   | COMMAND_GETOFFERS—represents the getOffers method. | 
|   | COMMAND_GETPROFILE—represents the getProfile method. | 
|   | COMMAND_GETVERSION—represents the getVersion method. | 
|   | COMMAND_POSTEVENT—represents the postEvent method. | 
|   | COMMAND_SETAUDIENCE—represents the setAudience method. | 
|   | COMMAND_SETDEBUG—represents the setDebug method. | 
|   | COMMAND_STARTSESSION—represents the startSession method. | 
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. |