|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.nxt.comm.NXTServerSocket
public class NXTServerSocket
Communicates with a ServerProxy on the PC to provide a ServerSocket interface applications on the NXT.
| Constructor Summary | |
|---|---|
NXTServerSocket(int port,
BTConnection btc)
Constructor. |
|
NXTServerSocket(int port,
USBConnection usbc)
Constructor. |
|
| Method Summary | |
|---|---|
NXTSocket |
accept()
Waits untill there is a socket connection available. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Constructor Detail |
|---|
public NXTServerSocket(int port,
BTConnection btc)
throws IOException
port - The port to listen onbtc - The bluetooth connection to open
IOException
public NXTServerSocket(int port,
USBConnection usbc)
throws IOException
port - The port to listen onusbc - The usb connection to open
IOException| Method Detail |
|---|
public NXTSocket accept()
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||