|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.device.AbstractDevice
ist.palcom.device.AbstractUDPDevice
ist.palcom.eclipse.browserplugin.EclipseBrowserDevice
public class EclipseBrowserDevice
A simple Palcom device class responsible for the discovery and remote control functionality needed by the Palcom browser application.
| Field Summary | |
|---|---|
protected DeviceAndServiceListener |
dsl
|
| Fields inherited from class ist.palcom.device.AbstractDevice |
|---|
context, scheduler |
| Constructor Summary | |
|---|---|
EclipseBrowserDevice(DeviceID deviceID,
java.lang.String name,
DeviceAndServiceListener dsl,
java.io.File root)
|
|
| Method Summary | |
|---|---|
protected DeviceContext |
createDeviceContext(DeviceID deviceID,
PalcomScheduler scheduler)
Creates the DeviceContext of the device. |
void |
doRediscover()
|
void |
doRequestConnection(ConnectionInfo info)
|
void |
doRequestDisconnection(ConnectionInfo info)
|
PRDService |
getControlCustomer()
|
ServiceInstanceID |
getControlCustomerSIID()
|
void |
initDevice()
Initialize the device. |
void |
listenForStatusChanges(AbstractResourceAddress address)
|
void |
loadAssembly(PRDAssemblyVer av)
Short-cut method to allow loading of assemblies from the "native" user interface of the device |
void |
loadSoftwareComponent(java.lang.String className,
java.lang.String instanceString)
|
void |
putUpdateEvent(AssemblyEditor editor,
IFile resource)
|
void |
removeAssemblies()
Short-cut method to allow unloading of assemblies from the "native" user interface of the device |
void |
safePutEvent(CommandEvent e)
|
void |
scheduleThread(PalcomThread t)
|
void |
stopDevice()
Stop the device. |
void |
testEditThread()
|
| Methods inherited from class ist.palcom.device.AbstractDevice |
|---|
getDeviceContext, getDeviceInfo, getName, getRootPath, run, safePutEvent, setHeartBeatPeriod, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DeviceAndServiceListener dsl
| Constructor Detail |
|---|
public EclipseBrowserDevice(DeviceID deviceID,
java.lang.String name,
DeviceAndServiceListener dsl,
java.io.File root)
throws java.io.IOException
deviceID - name - root - - the root of the Eclipse workspace we are currently running in
java.io.IOException| Method Detail |
|---|
protected DeviceContext createDeviceContext(DeviceID deviceID,
PalcomScheduler scheduler)
AbstractDeviceDeviceContext of the device. This method has to be
implemented in a concrete subclass.
createDeviceContext in class AbstractUDPDevicedeviceID - The device ID.scheduler - The scheduler.
public void safePutEvent(CommandEvent e)
public void doRequestConnection(ConnectionInfo info)
public void doRequestDisconnection(ConnectionInfo info)
public void doRediscover()
public void initDevice()
throws java.io.IOException
AbstractDevice
initDevice in class AbstractDevicejava.io.IOException
public void stopDevice()
throws java.io.IOException
AbstractDevice
stopDevice in class AbstractDevicejava.io.IOExceptionpublic ServiceInstanceID getControlCustomerSIID()
public PRDService getControlCustomer()
public void scheduleThread(PalcomThread t)
public void loadSoftwareComponent(java.lang.String className,
java.lang.String instanceString)
public void loadAssembly(PRDAssemblyVer av)
public void removeAssemblies()
public void putUpdateEvent(AssemblyEditor editor,
IFile resource)
public void testEditThread()
public void listenForStatusChanges(AbstractResourceAddress address)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||