|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeer2me.network.ConnectionListener
This class contains a ConnectionListener thread listening for incoming connection attempts from other devices running the same MIDlet built upon the framework. When a incomming connection is detected, a Node representation is created representing the connecting device. A ConnectionListener thread is created in Network.init().
Constructor Summary | |
ConnectionListener(java.lang.String connectionURL)
Constructor. |
Method Summary | |
void |
run()
This method is called when the ConnectionListener thread is started in the constructor. |
void |
shutdown()
This method shuts down this thread and closes the connection to clean up. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectionListener(java.lang.String connectionURL)
connectionURL
- The ConnectionURL to listen toMethod Detail |
public void run()
run
in interface java.lang.Runnable
public void shutdown()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |