org.netxms.api.client
Class SessionNotification
java.lang.Object
org.netxms.api.client.SessionNotification
public class SessionNotification
- extends java.lang.Object
Generic client library notifications
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTION_BROKEN
public static final int CONNECTION_BROKEN
- See Also:
- Constant Field Values
USER_DB_CHANGED
public static final int USER_DB_CHANGED
- See Also:
- Constant Field Values
NOTIFY_BASE
public static final int NOTIFY_BASE
- See Also:
- Constant Field Values
SERVER_SHUTDOWN
public static final int SERVER_SHUTDOWN
- See Also:
- Constant Field Values
DBCON_STATUS_CHANGED
public static final int DBCON_STATUS_CHANGED
- See Also:
- Constant Field Values
CUSTOM_MESSAGE
public static final int CUSTOM_MESSAGE
- See Also:
- Constant Field Values
USER_DB_OBJECT_CREATED
public static final int USER_DB_OBJECT_CREATED
- See Also:
- Constant Field Values
USER_DB_OBJECT_DELETED
public static final int USER_DB_OBJECT_DELETED
- See Also:
- Constant Field Values
USER_DB_OBJECT_MODIFIED
public static final int USER_DB_OBJECT_MODIFIED
- See Also:
- Constant Field Values
code
protected int code
subCode
protected long subCode
object
protected java.lang.Object object
SessionNotification
public SessionNotification(int code,
java.lang.Object object)
- Parameters:
code
- object
-
SessionNotification
public SessionNotification(int code,
long subCode)
- Parameters:
code
- subCode
-
SessionNotification
public SessionNotification(int code,
long subCode,
java.lang.Object object)
- Parameters:
code
- subCode
- object
-
SessionNotification
public SessionNotification(int code)
- Parameters:
code
-
getCode
public final int getCode()
- Returns:
- Notification's code
getSubCode
public final long getSubCode()
- Returns:
- Notification's subcode
getObject
public final java.lang.Object getObject()
- Returns:
- Object associated with notification
Copyright © 2012. All Rights Reserved.