public abstract class

JsonHandler

extends Object
java.lang.Object
   ↳ edu.stanford.junction.provider.jx.json.JsonHandler
Known Direct Subclasses

Class Overview

Helps read and write json messages over a socket by handling chunking for both reads and writes.

Summary

Fields
protected final String TAG
Public Constructors
JsonHandler()
Public Methods
abstract JSONObject jsonFromStream()
abstract void sendJson(JSONObject message)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final String TAG

Public Constructors

public JsonHandler ()

Public Methods

public abstract JSONObject jsonFromStream ()

Throws
IOException

public abstract void sendJson (JSONObject message)

Throws
IOException