| Constructor and Description |
|---|
RemoteEV3(java.lang.String host) |
| Modifier and Type | Method and Description |
|---|---|
RMIRegulatedMotor |
createRegulatedMotor(java.lang.String portName,
char motorType) |
RMISampleProvider |
createSampleProvider(java.lang.String portName,
java.lang.String sensorName,
java.lang.String modeName) |
Audio |
getAudio()
return a Audio object which can be used to access the device's audio playback
|
RMIBluetooth |
getBluetooth() |
LocalBTDevice |
getBluetoothDevice()
Get the local Bluetooth device
|
GraphicsLCD |
getGraphicsLCD()
Get graphics access to the LCD
|
java.lang.String |
getHost() |
Key |
getKey(java.lang.String name)
Get access to a specific Key (aka Button)
|
Keys |
getKeys()
Get access to the keys (buttons)
|
LED |
getLED()
Get access to the LED
|
java.lang.String |
getName()
Get he name of the brick
|
Port |
getPort(java.lang.String portName)
Return a port object for the request port name.
|
Power |
getPower()
return a battery object which can be used to obtain battery voltage etc.
|
TextLCD |
getTextLCD()
Get text access to the LCD using the default font
|
TextLCD |
getTextLCD(Font f)
Get text access to the LCD using a specified font
|
java.lang.String |
getType()
Get the type of brick, e.g.
|
Video |
getVideo() |
RMIWifi |
getWifi() |
LocalWifiDevice |
getWifiDevice()
Get the local Wifi device
|
boolean |
isLocal()
Test whether the brick is a local one
|
void |
setDefault()
Set this brick as the default one for static methods
|
public RemoteEV3(java.lang.String host)
throws java.rmi.RemoteException,
java.net.MalformedURLException,
java.rmi.NotBoundException
java.rmi.RemoteExceptionjava.net.MalformedURLExceptionjava.rmi.NotBoundExceptionpublic Port getPort(java.lang.String portName)
Brickpublic Power getPower()
Brickpublic java.lang.String getHost()
public RMISampleProvider createSampleProvider(java.lang.String portName, java.lang.String sensorName, java.lang.String modeName)
public RMIRegulatedMotor createRegulatedMotor(java.lang.String portName, char motorType)
public Audio getAudio()
Brickpublic TextLCD getTextLCD()
BrickgetTextLCD in interface Brickpublic RMIWifi getWifi()
public RMIBluetooth getBluetooth()
public GraphicsLCD getGraphicsLCD()
BrickgetGraphicsLCD in interface Brickpublic TextLCD getTextLCD(Font f)
BrickgetTextLCD in interface Brickf - the fontpublic boolean isLocal()
Brickpublic java.lang.String getType()
Brickpublic java.lang.String getName()
Brickpublic LocalBTDevice getBluetoothDevice()
BrickgetBluetoothDevice in interface Brickpublic LocalWifiDevice getWifiDevice()
BrickgetWifiDevice in interface Brickpublic void setDefault()
BricksetDefault in interface Brickpublic Key getKey(java.lang.String name)
Brick