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 java.lang.String
getHost()
getHostTl1AutonomousMessageProcessor
getMessageProcessor()
getMessageProcessorint
getPort()
getPortlong
getReconnectionDelay()
getReconnectionDelayjava.util.concurrent.BlockingQueue<Tl1AutonomousMessage>
getTl1Queue()
getTl1Queuevoid
setHost(java.lang.String host)
setHostvoid
setMessageProcessor(Tl1AutonomousMessageProcessor messageProcessor)
setMessageProcessorvoid
setPort(int port)
setPortvoid
setReconnectionDelay(long reconnectionDelay)
setReconnectionDelayvoid
setTl1Queue(java.util.concurrent.BlockingQueue<Tl1AutonomousMessage> queue)
setTl1Queuevoid
start()
startvoid
stop()
stop
-
-
-
Method Detail
-
start
void start()
start
-
stop
void stop()
stop
-
getHost
java.lang.String getHost()
getHost
- Returns:
- a
String
object.
-
setHost
void setHost(java.lang.String host)
setHost
- Parameters:
host
- aString
object.
-
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
java.util.concurrent.BlockingQueue<Tl1AutonomousMessage> getTl1Queue()
getTl1Queue
- Returns:
- a
BlockingQueue
object.
-
setTl1Queue
void setTl1Queue(java.util.concurrent.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.
-
-