|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpeak.can.basic.RcvEventDispatcher
public class RcvEventDispatcher
This class is a gateway between the PCAN Light JNI and the application to dispatch the CAN Receive-Event. RcvEventDispatcher contains a public static method dispatchRcvEvent which is called from the JNI to notify the Java application when the handle of the Receive-Event detects a state change.
| Constructor Summary | |
|---|---|
RcvEventDispatcher()
|
|
| Method Summary | |
|---|---|
static void |
dispatchRcvEvent(TPCANHandle channel)
This static public method will call from JNI to process the Receive-Event by the listener |
static IRcvEventProcessor |
getListener()
Gets the Receive-Event processor |
static void |
setListener(IRcvEventProcessor listener)
Sets the Receive-Event processor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RcvEventDispatcher()
| Method Detail |
|---|
public static IRcvEventProcessor getListener()
public static void setListener(IRcvEventProcessor listener)
listener - a IRcvEventProcessor implementorpublic static void dispatchRcvEvent(TPCANHandle channel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||