com.pcbsys.nirvana.client.nFindResult Class Reference
This class represents the results of the nSession.find(nChannelAttributes[]) call. More...
Public Member Functions | |
| nChannelAttributes | getAttributes () |
| Get the nChannelAttributes that was used in the find call. | |
| nChannel | getChannel () |
| If isChannel(), or !isQueue() this method will return the nChannel object found. | |
| nBaseClientException | getException () |
| If !wasSuccessful(), this will return an Exception. | |
| nQueue | getQueue () |
| If isQueue(), or !isChannel() this method will return the nQueue object found. | |
| boolean | isChannel () |
| Was the result of the find an nChannel. | |
| boolean | isQueue () |
| Was the result of the find an nQueue. | |
| boolean | wasSuccessful () |
| Determine whether the find was successful for the specific nChannelAttributes object. | |
Detailed Description
This class represents the results of the nSession.find(nChannelAttributes[]) call.This call returns an array of nFindResult objects, each one represents the result of the call. The result will either be an nChannel, nQueue or an Exception obhect
- Since:
- 6.0
Member Function Documentation
| nChannelAttributes com.pcbsys.nirvana.client.nFindResult.getAttributes | ( | ) |
| nChannel com.pcbsys.nirvana.client.nFindResult.getChannel | ( | ) |
If isChannel(), or !isQueue() this method will return the nChannel object found.
- Returns:
- the nChannel object
| nBaseClientException com.pcbsys.nirvana.client.nFindResult.getException | ( | ) |
If !wasSuccessful(), this will return an Exception.
- Returns:
- exception if the find was not successful
| nQueue com.pcbsys.nirvana.client.nFindResult.getQueue | ( | ) |
| boolean com.pcbsys.nirvana.client.nFindResult.isChannel | ( | ) |
| boolean com.pcbsys.nirvana.client.nFindResult.isQueue | ( | ) |
| boolean com.pcbsys.nirvana.client.nFindResult.wasSuccessful | ( | ) |
Determine whether the find was successful for the specific nChannelAttributes object.
- Returns:
- true if successful
