- com
- pcbsys
- nirvana
- client
- nCreateResult
This class represents the results of the nSession.create(nChannelAttributes[]) call. More...
#include <nCreateResult.h>
Inherits com::pcbsys::nirvana::client::nResult.
Public Member Functions | |
nChannelAttributes * | getAttributes () |
Get the nChannelAttributes that was used in the create call. More... | |
nChannel * | getChannel () |
If isChannel(), or !isQueue() this method will return the nChannel object created. More... | |
nBaseClientException * | getException () |
If !wasSuccessful(), this will return an Exception. More... | |
nQueue * | getQueue () |
If isQueue(), or !isChannel() this method will return the nQueue object created. More... | |
bool | isChannel () |
Was the result of the create an nChannel. More... | |
bool | isQueue () |
Was the result of the create an nQueue. More... | |
bool | wasSuccessful () |
Determine whether the create was successful for the specific nChannelAttributes object. More... | |
This class represents the results of the nSession.create(nChannelAttributes[]) call.
This call returns an array of nCreateResult objects, each one represents the result of the call. The result will either be an nChannel, nQueue or an Exception object
nChannelAttributes* com::pcbsys::nirvana::client::nCreateResult::getAttributes | ( | ) |
Get the nChannelAttributes that was used in the create call.
nChannel* com::pcbsys::nirvana::client::nCreateResult::getChannel | ( | ) |
If isChannel(), or !isQueue() this method will return the nChannel object created.
nBaseClientException* com::pcbsys::nirvana::client::nCreateResult::getException | ( | ) |
If !wasSuccessful(), this will return an Exception.
nQueue* com::pcbsys::nirvana::client::nCreateResult::getQueue | ( | ) |
bool com::pcbsys::nirvana::client::nCreateResult::isChannel | ( | ) |
bool com::pcbsys::nirvana::client::nCreateResult::isQueue | ( | ) |
bool com::pcbsys::nirvana::client::nCreateResult::wasSuccessful | ( | ) |
Determine whether the create was successful for the specific nChannelAttributes object.