Package com.microfocus.zfe.haapi
Class ConnectionStateChangedEvent
- java.lang.Object
-
- com.microfocus.zfe.haapi.ConnectionStateChangedEvent
-
public class ConnectionStateChangedEvent extends Object
Data carrier for connection state events.
-
-
Constructor Summary
Constructors Constructor Description ConnectionStateChangedEvent(Session session, ConnectionState state)
Creates a new instance of this event object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
getSession()
ConnectionState
getState()
String
toString()
-
-
-
Constructor Detail
-
ConnectionStateChangedEvent
public ConnectionStateChangedEvent(Session session, ConnectionState state)
Creates a new instance of this event object.- Parameters:
session
- the session object that fired this event.state
- being reported by this event.
-
-
Method Detail
-
getSession
public Session getSession()
- Returns:
- the session object that fired this event.
-
getState
public ConnectionState getState()
- Returns:
- connection state being reported by this event.
-
-