com.pcbsys.nirvana.client.nCreateResult Class Reference

This class represents the results of the nSession.create(nChannelAttributes[]) call. More...

Inheritance diagram for com.pcbsys.nirvana.client.nCreateResult:
com.pcbsys.nirvana.client.nResult

Public Member Functions

override nChannelAttributes getAttributes ()
 Get the nChannelAttributes that was used in the create call More...
 
override nChannel getChannel ()
 If isChannel(), or !isQueue() this method will return the nChannel object created More...
 
override nBaseClientException getException ()
 If !wasSuccessful(), this will return an Exception More...
 
override nQueue getQueue ()
 If isQueue(), or !isChannel() this method will return the nQueue object created More...
 
override bool isChannel ()
 Was the result of the create an nChannel More...
 
override bool isQueue ()
 Was the result of the create an nQueue More...
 
override bool wasSuccessful ()
 Determine whether the create was successful for the specific nChannelAttributes object More...
 

Detailed Description

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

Member Function Documentation

override nChannelAttributes com.pcbsys.nirvana.client.nCreateResult.getAttributes ( )
virtual

Get the nChannelAttributes that was used in the create call

Returns
the nChannelAttributes object

Reimplemented from com.pcbsys.nirvana.client.nResult.

override nChannel com.pcbsys.nirvana.client.nCreateResult.getChannel ( )
virtual

If isChannel(), or !isQueue() this method will return the nChannel object created

Returns
the nChannel object

Reimplemented from com.pcbsys.nirvana.client.nResult.

override nBaseClientException com.pcbsys.nirvana.client.nCreateResult.getException ( )
virtual

If !wasSuccessful(), this will return an Exception

Returns
exception if the create was not successful

Reimplemented from com.pcbsys.nirvana.client.nResult.

override nQueue com.pcbsys.nirvana.client.nCreateResult.getQueue ( )
virtual

If isQueue(), or !isChannel() this method will return the nQueue object created

Returns
the nQueue object

Reimplemented from com.pcbsys.nirvana.client.nResult.

override bool com.pcbsys.nirvana.client.nCreateResult.isChannel ( )
virtual

Was the result of the create an nChannel

Returns
true if an nChannel was created

Reimplemented from com.pcbsys.nirvana.client.nResult.

override bool com.pcbsys.nirvana.client.nCreateResult.isQueue ( )
virtual

Was the result of the create an nQueue

Returns
true if an nQueue was created

Reimplemented from com.pcbsys.nirvana.client.nResult.

override bool com.pcbsys.nirvana.client.nCreateResult.wasSuccessful ( )
virtual

Determine whether the create was successful for the specific nChannelAttributes object

Returns
true if successful

Reimplemented from com.pcbsys.nirvana.client.nResult.