mondrian.server.monitor
Class ConnectionEvent

java.lang.Object
  extended by mondrian.server.monitor.Event
      extended by mondrian.server.monitor.ConnectionEvent
All Implemented Interfaces:
Message
Direct Known Subclasses:
ConnectionEndEvent, ConnectionStartEvent

public abstract class ConnectionEvent
extends Event

Event concerning a connection.


Field Summary
 int connectionId
          Connection identifier.
 int serverId
          Server identifier; corresponds to MondrianServer.getId().
 
Fields inherited from class mondrian.server.monitor.Event
timestamp
 
Constructor Summary
ConnectionEvent(long timestamp, int serverId, int connectionId)
          Creates a ConnectionEvent.
 
Method Summary
 
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
 

Field Detail

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)

Constructor Detail

ConnectionEvent

public ConnectionEvent(long timestamp,
                       int serverId,
                       int connectionId)
Creates a ConnectionEvent.

Parameters:
timestamp - Timestamp
serverId - Server id
connectionId - Connection id

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads