com.alarmpoint.integrations.nnmi
Class NetworkNodeManagerSubscriptionUtil

java.lang.Object
  extended by java.lang.Thread
      extended by com.alarmpoint.integrations.nnmi.NetworkNodeManagerSubscriptionUtil
All Implemented Interfaces:
java.lang.Runnable

public class NetworkNodeManagerSubscriptionUtil
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NetworkNodeManagerSubscriptionUtil(java.lang.String nnmiUrl, java.lang.String nnmiUser, java.lang.String nnmiPassword, java.lang.String localUrl, java.lang.String filter)
           
 
Method Summary
 java.lang.String getFilter()
           
 java.lang.String getLocalUrl()
           
 java.lang.String getRemoteUrl()
           
 java.lang.Long getSleepTime()
           
 void renew(java.lang.String identifier)
           
 void run()
           
 void setFilter(java.lang.String filter)
           
 void setLocalUrl(java.lang.String localUrl)
           
 void setRemoteUrl(java.lang.String remoteUrl)
           
 void setSleepTime(java.lang.Long sleepTime)
           
 void stopRunning()
           
 java.lang.String subscribe()
           
 void unsubscribe(java.lang.String identifier)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkNodeManagerSubscriptionUtil

public NetworkNodeManagerSubscriptionUtil(java.lang.String nnmiUrl,
                                          java.lang.String nnmiUser,
                                          java.lang.String nnmiPassword,
                                          java.lang.String localUrl,
                                          java.lang.String filter)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

stopRunning

public void stopRunning()

subscribe

public java.lang.String subscribe()

renew

public void renew(java.lang.String identifier)

unsubscribe

public void unsubscribe(java.lang.String identifier)

getLocalUrl

public java.lang.String getLocalUrl()

setLocalUrl

public void setLocalUrl(java.lang.String localUrl)

getRemoteUrl

public java.lang.String getRemoteUrl()

setRemoteUrl

public void setRemoteUrl(java.lang.String remoteUrl)

getFilter

public java.lang.String getFilter()

setFilter

public void setFilter(java.lang.String filter)

getSleepTime

public java.lang.Long getSleepTime()

setSleepTime

public void setSleepTime(java.lang.Long sleepTime)