org.opennms.web.category
Class RTCPostSubscriber
java.lang.Object
org.opennms.web.category.RTCPostSubscriber
public class RTCPostSubscriber
- extends Object
- Author:
- Larry Karnowski , OpenNMS
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_proxy
protected EventProxy m_proxy
m_url
protected String m_url
m_username
protected String m_username
m_password
protected String m_password
log
protected static Category log
RTCPostSubscriber
public RTCPostSubscriber()
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
sendSubscribeEvent
public static void sendSubscribeEvent(EventProxy proxy,
String url,
String username,
String password,
String categoryName)
throws IllegalArgumentException,
EventProxyException
- Throws:
IllegalArgumentException
EventProxyException
sendUnsubscribeEvent
public static void sendUnsubscribeEvent(EventProxy proxy,
String url)
throws IllegalArgumentException,
EventProxyException
- Throws:
IllegalArgumentException
EventProxyException
subscribe
public String subscribe(String categoryName)
throws IllegalArgumentException,
EventProxyException
- Throws:
IllegalArgumentException
EventProxyException
unsubscribe
public void unsubscribe()
throws IllegalArgumentException,
EventProxyException
- Throws:
IllegalArgumentException
EventProxyException
close
public void close()
initFromRtcPropertyFile
protected void initFromRtcPropertyFile(String categoryName)
subscribeAll
public static void subscribeAll(String viewName)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
EventProxyException
- Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
EventProxyException
Copyright © 2009. All Rights Reserved.