com.ehsbe.commons.util
Class ClientInfoEvent
java.lang.Object
com.ehsbe.commons.util.ClientInfoEvent
- All Implemented Interfaces:
- Serializable
public class ClientInfoEvent
- extends Object
- implements Serializable
Info event to be send to one special or all clients.
- Version:
- $Revision: 432 $
- Author:
- Jens Elkner
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientInfoEvent
public ClientInfoEvent(String clientID,
Level level,
String msg,
String details)
- Create a immutable event ready to be sent over the wire.
- Parameters:
clientID
- if null
, the message should be processed
by all receiving clients. Otherwise only the client with the given
connection ID should process the message.level
- The info level of the message. If null
,
Level.INFO will be used insteadmsg
- Message to sent to the client. Empty or null
Strings are not allowed.details
- more details wrt. the message
getClientID
public String getClientID()
- Returns:
- the clientID.
getDetails
public String getDetails()
- Returns:
- the details.
getLevel
public Level getLevel()
- Returns:
- the level.
getMsg
public String getMsg()
- Returns:
- the msg.
Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.