public class Picaxe extends Service
Modifier and Type | Class and Description |
---|---|
class |
Picaxe.PICAXEThread |
static class |
Picaxe.PulseDataType |
Modifier and Type | Field and Description |
---|---|
int |
interval |
static org.slf4j.Logger |
log |
Picaxe.PICAXEThread |
myPICAXE |
int |
pulseDataInteger |
java.lang.String |
pulseDataString |
Picaxe.PulseDataType |
pulseDataType |
cfgDir, dnaPool, MESSAGE_RECORDING_FORMAT_BINARY, MESSAGE_RECORDING_FORMAT_XML
Constructor and Description |
---|
Picaxe(java.lang.String n) |
Modifier and Type | Method and Description |
---|---|
static ServiceType |
getMetaData()
This static method returns all the details of the class without it having
to be constructed.
|
Picaxe |
getState() |
static void |
main(java.lang.String[] args) |
Picaxe |
publishState()
publishing point for the whole service the entire Service is published
|
void |
pulse() |
java.lang.Integer |
pulse(java.lang.Integer count) |
java.lang.String |
pulse(java.lang.String d) |
void |
setInterval(java.lang.Integer milliseconds) |
java.lang.Integer |
setPulseDataInteger(java.lang.Integer s) |
java.lang.String |
setPulseDataString(java.lang.String s) |
void |
setPulseDataType(Picaxe.PulseDataType t) |
Picaxe |
setState(Picaxe o) |
void |
setType(Picaxe.PulseDataType t) |
void |
setType(java.lang.String t) |
void |
startPICAXE() |
void |
stopPICAXE() |
void |
stopService()
Stops the service.
|
addListener, addListener, addTask, addTask, addTask, addTaskOneShot, allowDisplay, allowDisplay, attach, attach, broadcastState, buildDna, buildDna, buildDnaKeys, buildDnaNames, clearLastError, close, containsTask, copyShallowFrom, createPeer, createPeer, createRootReserved, detach, detach, detach, echoHeartbeat, error, error, error, getAttached, getCfgDir, getComm, getDeclaredMethodNames, getDeclaredMethods, getDescription, getDna, getDnaString, getHostName, getInbox, getInstanceId, getIntanceName, getInterfaceSet, getLastError, getMessageSet, getMetaData, getMethodMap, getMethodNames, getMethods, getMethodToolTip, getMsg, getName, getNotifyList, getNotifyListKeySet, getOutbox, getPeerKey, getPeerName, getServiceResourceFile, getSimpleName, getTasks, getThisThread, getType, hasError, hasPeers, help, help, in, info, info, invoke, invoke, invoke, invokeOn, isAttached, isAttached, isLocal, isReady, isRunning, isRuntime, isVirtual, load, load, logTimeEnable, mergeDna, mergeDna, mergePeerDna, movePeerDna, out, out, preProcessHook, preRoutingHook, publishError, publishQueueStats, publishStats, publishStatus, purgeTask, purgeTasks, releasePeers, releaseService, removeAllListeners, removeListener, requiresSecurity, reserve, reserve, reserveRoot, reserveRoot, reserveRootAs, run, save, save, save, send, send, send, send, sendBlocking, sendBlocking, sendBlocking, sendBlocking, sendPeer, setInstanceId, setName, setPeer, setSecurityProvider, setState, setThisThread, setVirtual, sleep, stackToString, startHeartbeat, startPeer, startPeer, startRecording, startService, stopHeartbeat, stopMsgRecording, subscribe, subscribe, subscribe, toString, unsubscribe, unsubscribe, unsubscribe, updateStats, warn, warn
public static final org.slf4j.Logger log
public int interval
public Picaxe.PulseDataType pulseDataType
public java.lang.String pulseDataString
public int pulseDataInteger
public transient Picaxe.PICAXEThread myPICAXE
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public Picaxe getState()
public Picaxe publishState()
Service
publishState
in class Service
public void pulse()
public java.lang.Integer pulse(java.lang.Integer count)
public java.lang.String pulse(java.lang.String d)
public void setInterval(java.lang.Integer milliseconds)
public java.lang.Integer setPulseDataInteger(java.lang.Integer s)
public java.lang.String setPulseDataString(java.lang.String s)
public void setPulseDataType(Picaxe.PulseDataType t)
public void setType(Picaxe.PulseDataType t)
public void setType(java.lang.String t)
public void startPICAXE()
public void stopPICAXE()
public void stopService()
Service
stopService
in interface ServiceInterface
stopService
in class Service
public static ServiceType getMetaData()