Logo Search packages:      
Sourcecode: libjgroups-java version File versions

abstract View org::jgroups::Channel::getView (  )  [pure virtual]

Gets the current view. This does not retrieve a new view, use receive() to do so. The view may only be available after a successful connect(). The result of calling this method on an unconnected channel is implementation defined (may return null). Calling it on a channel that is not enabled to receive view events (via setOpt) returns null. Calling this method on a closed channel returns a null view.

Returns:
The current view.

Implemented in org::jgroups::JChannel, and org::jgroups::mux::MuxChannel.

Referenced by org::jgroups::tests::ConnectTest::testDisconnectConnectTwo().


Generated by  Doxygen 1.6.0   Back to index