|
|||||||||
| 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.palbox.PalBoxDevice
public class PalBoxDevice
A simple Palcom device class used as a platform for launching assemblies and services.
| Field Summary | |
|---|---|
protected DeviceAndServiceListener |
dsl
|
| Fields inherited from class ist.palcom.device.AbstractDevice |
|---|
context, scheduler |
| Constructor Summary | |
|---|---|
PalBoxDevice(java.lang.String name,
DeviceAndServiceListener dsl)
|
|
| 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)
|
java.lang.Object[] |
getAssemblyVersionsFromFile(java.io.File assemblyFile)
|
protected PalcomPriorityThread |
getGUIHandlerThread()
|
LinearMap |
getLoadedAssembliesLabels()
|
protected java.lang.Object[] |
getSoftwareComponentCandidates()
|
void |
initDevice()
Initialize the device. |
boolean |
loadAssembly(java.io.File assemblyFile,
java.lang.String assemblyVersion)
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)
|
static void |
main(java.lang.String[] args)
|
void |
removeAssemblies()
Short-cut method to allow unloading of assemblies from the "native" user interface of the device |
void |
scheduleThread(PalcomThread t)
|
void |
stopDevice()
Stop the device. |
void |
unloadAllSoftwareComponents()
|
void |
unloadSoftwareComponent(java.lang.String className,
java.lang.String instanceString)
|
| 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 PalBoxDevice(java.lang.String name,
DeviceAndServiceListener dsl)
throws java.io.IOException
name -
java.io.IOException| Method Detail |
|---|
public static void main(java.lang.String[] args)
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 doRequestConnection(ConnectionInfo info)
public void doRequestDisconnection(ConnectionInfo info)
public void doRediscover()
protected PalcomPriorityThread getGUIHandlerThread()
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 void scheduleThread(PalcomThread t)
public void loadSoftwareComponent(java.lang.String className,
java.lang.String instanceString)
public void unloadSoftwareComponent(java.lang.String className,
java.lang.String instanceString)
public void unloadAllSoftwareComponents()
protected java.lang.Object[] getSoftwareComponentCandidates()
public java.lang.Object[] getAssemblyVersionsFromFile(java.io.File assemblyFile)
public boolean loadAssembly(java.io.File assemblyFile,
java.lang.String assemblyVersion)
public void removeAssemblies()
public LinearMap getLoadedAssembliesLabels()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||