|
OpenNMS API 1.2.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.dhcpd.Receiver
| Field Summary | |
private static short |
DHCP_TARGET_PORT
|
private java.util.List |
m_clients
|
private java.lang.String |
m_name
|
private java.net.DatagramSocket |
m_receiver
|
private int |
m_status
|
private java.lang.Thread |
m_worker
|
| Fields inherited from interface org.opennms.core.fiber.Fiber |
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED |
| Constructor Summary | |
(package private) |
Receiver(java.util.List clients)
|
| Method Summary | |
java.lang.String |
getName()
This method is used to return the name of the Fiber. |
int |
getStatus()
This method is used to get the current status of the Fiber. |
void |
run()
|
void |
start()
This method is used to start the initilization process of the Fiber, which should eventually transition to a
RUNNING status. |
void |
stop()
This method is used to stop a currently running Fiber. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final short DHCP_TARGET_PORT
private java.net.DatagramSocket m_receiver
private java.lang.String m_name
private int m_status
private java.lang.Thread m_worker
private java.util.List m_clients
| Constructor Detail |
Receiver(java.util.List clients) throws java.io.IOException
| Method Detail |
public void start()
FiberFiber, which should eventually transition to a
RUNNING status.
start in interface Fiberpublic void stop()
FiberFiber.
Once invoked the Fiber should begin it's shutdown process.
Depending on the implementation, this method may block until the
Fiber terminates.
stop in interface Fiberpublic int getStatus()
FiberFiber.
The status of the fiber should be one of the predefined constants of the
Fiber interface, or from one of the derived interfaces.
getStatus in interface FiberFiber.public java.lang.String getName()
FiberFiber. The
name of the instance is defined by the implementor, but it should be
realitively unique when possible.
getName in interface FiberFiber.public void run()
run in interface java.lang.Runnable
|
OpenNMS API 1.2.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||