org.netxms.api.client
Class SessionNotification

java.lang.Object
  extended by org.netxms.api.client.SessionNotification

public class SessionNotification
extends java.lang.Object

Generic client library notifications


Field Summary
protected  int code
           
static int CONNECTION_BROKEN
           
static int CUSTOM_MESSAGE
           
static int DBCON_STATUS_CHANGED
           
static int NOTIFY_BASE
           
protected  java.lang.Object object
           
static int SERVER_SHUTDOWN
           
protected  long subCode
           
static int USER_DB_CHANGED
           
static int USER_DB_OBJECT_CREATED
           
static int USER_DB_OBJECT_DELETED
           
static int USER_DB_OBJECT_MODIFIED
           
 
Constructor Summary
SessionNotification(int code)
           
SessionNotification(int code, long subCode)
           
SessionNotification(int code, long subCode, java.lang.Object object)
           
SessionNotification(int code, java.lang.Object object)
           
 
Method Summary
 int getCode()
           
 java.lang.Object getObject()
           
 long getSubCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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 -
Method Detail

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 © 2011. All Rights Reserved.