Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## lejos.pc.comm
Class NXTCommFactory

    java.lang.Object
      lejos.pc.comm.NXTCommFactory

    public class NXTCommFactory

extends java.lang.Object

Creates a version of NTComm appropriate to the OS in use and protocol (Bluetooth or USB) that is requested.

Field Summary
`static int` | `BLUETOOTH`
`static int` | `USB`

Constructor Summary
`NXTCommFactory()`

Method Summary
`static NXTComm` | `createNXTComm(int protocol)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### USB

    public static final int USB

See Also:
  Constant Field Values

### BLUETOOTH

    public static final int BLUETOOTH

See Also:
  Constant Field Values

Constructor Detail

### NXTCommFactory

    public NXTCommFactory()

Method Detail

### createNXTComm

    public static NXTComm createNXTComm(int protocol)
                                 throws NXTCommException

  Throws:
    `NXTCommException`

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD