public interface RemoteSwitch extends RemoteTrigger
NAMING_EXTENSION| Modifier and Type | Method and Description |
|---|---|
boolean |
switchOff()
Switches off.
|
boolean |
switchOn(long ms)
Switches on.
|
remoteGetTrigger, remoteIsTrue, remoteToggleTimeaddRmiListener, remoteGet, removeRmiListenerbindToRegistry, isValid, unbindFromRegistryboolean switchOn(long ms)
throws RemoteException
switchOff()
method is called or the time out given expires.ms - The maximum illumination time, in ms. Zero for unlimitied.RemoteExceptionboolean switchOff()
throws RemoteException
RemoteException