|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rit.m2mp.Daemon
public class Daemon
Class Daemon is the main program for the M2MP Daemon process.
The M2MP Layer can be configured two ways, depending on whether there is one
or more than one M2MP client process running on the device. These two cases
are distinguished by the value of the edu.rit.m2mp.daemon.port
property in the M2MP properties file (see class M2MPProperties
).
If there is only one M2MP client process running on the host, then a separate M2MP Daemon process is not needed, and the edu.rit.m2mp.daemon.port property is set to 0. In this case the M2MP Layer in the client process communicates directly with the external network using the channel defined by the edu.rit.m2mp.channel.class property.
If there is more than one M2MP client process running on the host, then a separate M2MP Daemon process must be running, and the edu.rit.m2mp.daemon.port property is set to the local port number on which the M2MP Daemon process is listening for connections. In this case the M2MP Layer in the client process communicates with the M2MP Daemon process, and the M2MP Daemon process communicates in turn with the external network using the channel defined by the edu.rit.m2mp.channel.class property.
Usage: java edu.rit.m2mp.Daemon
Method Summary | |
---|---|
static void |
main(String[] args)
Main program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |