mondrian.server.monitor
Class ConnectionEvent
java.lang.Object
mondrian.server.monitor.Event
mondrian.server.monitor.ConnectionEvent
- All Implemented Interfaces:
- Message
- Direct Known Subclasses:
- ConnectionEndEvent, ConnectionStartEvent
public abstract class ConnectionEvent
- extends Event
Event concerning a connection.
|
Constructor Summary |
ConnectionEvent(long timestamp,
int serverId,
int connectionId)
Creates a ConnectionEvent. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface mondrian.server.monitor.Message |
accept |
serverId
public final int serverId
- Server identifier; corresponds to
MondrianServer.getId().
connectionId
public final int connectionId
- Connection identifier. To retrieve the connection, call
MondrianServer.getConnection(int)
ConnectionEvent
public ConnectionEvent(long timestamp,
int serverId,
int connectionId)
- Creates a ConnectionEvent.
- Parameters:
timestamp - TimestampserverId - Server idconnectionId - Connection id