Package org.opennms.netmgt.tl1d
Interface Tl1Client
-
- All Known Implementing Classes:
Tl1ClientImpl
public interface Tl1Client
The API for TL1 client connections.- Version:
- $Id: $
- Author:
- David Hustace
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHost()
getHostTl1AutonomousMessageProcessor
getMessageProcessor()
getMessageProcessorint
getPort()
getPortlong
getReconnectionDelay()
getReconnectionDelayBlockingQueue<Tl1AutonomousMessage>
getTl1Queue()
getTl1Queuevoid
setHost(String host)
setHostvoid
setMessageProcessor(Tl1AutonomousMessageProcessor messageProcessor)
setMessageProcessorvoid
setPort(int port)
setPortvoid
setReconnectionDelay(long reconnectionDelay)
setReconnectionDelayvoid
setTl1Queue(BlockingQueue<Tl1AutonomousMessage> queue)
setTl1Queuevoid
start()
startvoid
stop()
stop
-
-
-
Method Detail
-
start
void start()
start
-
stop
void stop()
stop
-
getPort
int getPort()
getPort
- Returns:
- a int.
-
setPort
void setPort(int port)
setPort
- Parameters:
port
- a int.
-
getReconnectionDelay
long getReconnectionDelay()
getReconnectionDelay
- Returns:
- a long.
-
setReconnectionDelay
void setReconnectionDelay(long reconnectionDelay)
setReconnectionDelay
- Parameters:
reconnectionDelay
- a long.
-
getTl1Queue
BlockingQueue<Tl1AutonomousMessage> getTl1Queue()
getTl1Queue
- Returns:
- a
BlockingQueue
object.
-
setTl1Queue
void setTl1Queue(BlockingQueue<Tl1AutonomousMessage> queue)
setTl1Queue
- Parameters:
queue
- aBlockingQueue
object.
-
getMessageProcessor
Tl1AutonomousMessageProcessor getMessageProcessor()
getMessageProcessor
- Returns:
- a
Tl1AutonomousMessageProcessor
object.
-
setMessageProcessor
void setMessageProcessor(Tl1AutonomousMessageProcessor messageProcessor)
setMessageProcessor
- Parameters:
messageProcessor
- aTl1AutonomousMessageProcessor
object.
-
-