JanosVM v0.6.0 Java API Documentation: Interface JSIHandler
|
JanosVM v0.6.0 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for objects that can handle JSI messages.
Method Summary | |
void |
getSuites(JSIMessage jm)
Add any suites for this handler to the given message. |
void |
handleMessage(JSIHandlerContext jhc,
JSIMessage jm)
Process the given message. |
JSIHandler |
resolveSpecifier(JSIMessage jm,
JSIPair jp)
Resolve the next specifier on the stack. |
Method Detail |
public JSIHandler resolveSpecifier(JSIMessage jm, JSIPair jp) throws java.lang.Throwable
jm
- The JSI message to route.jp
- The specifier pair currently being resolved.public void handleMessage(JSIHandlerContext jhc, JSIMessage jm) throws java.lang.Throwable
jhc
- The context in which to send/process interim messages.jm
- The received message. When processing is done the message
should be cleared and any reply data placed inside it.public void getSuites(JSIMessage jm)
jm
- The message containing all supported suites.
|
JanosVM v0.6.0 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |