org.opennms.netmgt.tl1d
Class Tl1ClientImpl
java.lang.Object
org.opennms.netmgt.tl1d.Tl1ClientImpl
- All Implemented Interfaces:
- Tl1Client
public class Tl1ClientImpl
- extends Object
- implements Tl1Client
Default Implementation of the Tl1Client API.
- Author:
- David Hustace
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tl1ClientImpl
public Tl1ClientImpl()
Tl1ClientImpl
public Tl1ClientImpl(BlockingQueue<Tl1AutonomousMessage> queue,
Tl1Element element,
Category log)
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException
- Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
start
public void start()
- Specified by:
start in interface Tl1Client
stop
public void stop()
- Specified by:
stop in interface Tl1Client
getHost
public String getHost()
- Specified by:
getHost in interface Tl1Client
setHost
public void setHost(String host)
- Specified by:
setHost in interface Tl1Client
getPort
public int getPort()
- Specified by:
getPort in interface Tl1Client
setPort
public void setPort(int port)
- Specified by:
setPort in interface Tl1Client
getReconnectionDelay
public long getReconnectionDelay()
- Specified by:
getReconnectionDelay in interface Tl1Client
setReconnectionDelay
public void setReconnectionDelay(long reconnectionDelay)
- Specified by:
setReconnectionDelay in interface Tl1Client
getTl1Queue
public BlockingQueue<Tl1AutonomousMessage> getTl1Queue()
- Specified by:
getTl1Queue in interface Tl1Client
setTl1Queue
public void setTl1Queue(BlockingQueue<Tl1AutonomousMessage> tl1Queue)
- Specified by:
setTl1Queue in interface Tl1Client
getMessageProcessor
public Tl1AutonomousMessageProcessor getMessageProcessor()
- Specified by:
getMessageProcessor in interface Tl1Client
setMessageProcessor
public void setMessageProcessor(Tl1AutonomousMessageProcessor messageProcessor)
- Specified by:
setMessageProcessor in interface Tl1Client
setLog
public void setLog(Category log)
- Specified by:
setLog in interface Tl1Client
Copyright © 2009. All Rights Reserved.