com.jrockit.mc.rjmx
Class ConnectionHandleEvent

java.lang.Object
  extended by com.jrockit.mc.rjmx.ConnectionHandleEvent

public final class ConnectionHandleEvent
extends java.lang.Object

Event that signals changes to the provider.

Author:
Marcus Hirt

Nested Class Summary
static class ConnectionHandleEvent.State
          Class for the connection state.
 
Constructor Summary
ConnectionHandleEvent(IConnectionHandle handle, ConnectionHandleEvent.State state)
          Constructs an IConnectionHandleStateListener event
 
Method Summary
 IConnectionHandle getConnectionHandle()
          Return the IConnectionHandle this event concerns.
 ConnectionHandleEvent.State getState()
          Returns the state the connection is in
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionHandleEvent

public ConnectionHandleEvent(IConnectionHandle handle,
                             ConnectionHandleEvent.State state)
Constructs an IConnectionHandleStateListener event

Parameters:
handle - the handle the vent concerns
state - the state it is now in
Method Detail

getState

public ConnectionHandleEvent.State getState()
Returns the state the connection is in

Returns:
connection state

getConnectionHandle

public IConnectionHandle getConnectionHandle()
Return the IConnectionHandle this event concerns.

Returns:
the handle


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.