public class Pir extends Service implements PinListener
Modifier and Type | Field and Description |
---|---|
boolean |
isVerbose |
static org.slf4j.Logger |
log |
cfgDir, dnaPool, MESSAGE_RECORDING_FORMAT_BINARY, MESSAGE_RECORDING_FORMAT_XML
Constructor and Description |
---|
Pir(java.lang.String n) |
Modifier and Type | Method and Description |
---|---|
void |
attach(PinArrayControl control,
int pin) |
void |
disable() |
void |
enable() |
void |
enable(int pollBySecond) |
static ServiceType |
getMetaData()
This static method returns all the details of the class without it having
to be constructed.
|
static void |
main(java.lang.String[] args) |
void |
onPin(PinData pindata) |
java.lang.Boolean |
publishSense(java.lang.Boolean b) |
java.util.List<java.lang.String> |
refresh() |
void |
setPin(int pin) |
void |
setPinArrayControl(PinArrayControl pinControl) |
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, publishState, 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, stopService, subscribe, subscribe, subscribe, toString, unsubscribe, unsubscribe, unsubscribe, updateStats, warn, warn
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
public static ServiceType getMetaData()
public static void main(java.lang.String[] args)
public void attach(PinArrayControl control, int pin)
public void disable()
public void enable()
public void enable(int pollBySecond)
public java.util.List<java.lang.String> refresh()
public void onPin(PinData pindata)
onPin
in interface PinListener
public java.lang.Boolean publishSense(java.lang.Boolean b)
public void setPin(int pin)
public void setPinArrayControl(PinArrayControl pinControl)