public class

JXSystem

extends JunctionExtra
java.lang.Object
   ↳ edu.stanford.junction.api.activity.JunctionExtra
     ↳ edu.stanford.junction.extra.JXSystem

Class Overview

Handles internal System requests. This may include handover to OOB-transport (or, at least, serves as an example for how to do OOB transport)

Summary

Constants
String JX_SYSTEM_NS
Public Constructors
JXSystem()
Public Methods
boolean beforeOnMessageReceived(MessageHeader h, JSONObject msg)
Returns true if the normal event handling should proceed; Return false to stop cascading.
boolean beforeSendMessage(JSONObject msg)
Convenience method to which, by default, all message sending methods call through.
static void main(String... args)
[Expand]
Inherited Methods
From class edu.stanford.junction.api.activity.JunctionExtra
From class java.lang.Object

Constants

protected static final String JX_SYSTEM_NS

Constant Value: "JXSYSTEMMSG"

Public Constructors

public JXSystem ()

Public Methods

public boolean beforeOnMessageReceived (MessageHeader h, JSONObject msg)

Returns true if the normal event handling should proceed; Return false to stop cascading.

public boolean beforeSendMessage (JSONObject msg)

Convenience method to which, by default, all message sending methods call through.

public static void main (String... args)