|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.vergil.net.AppianJSONSocketTransport
public class AppianJSONSocketTransport
WRITEME: Document this type.
Field Summary | |
---|---|
protected String |
hostname
the server hostname |
protected int |
port
the server port |
Constructor Summary | |
---|---|
AppianJSONSocketTransport()
|
Method Summary | |
---|---|
void |
setServerURI(String uri)
WRITEME |
List<org.json.JSONObject> |
transact(org.json.JSONObject toSend)
Send a JSON packet to the server and receive back the result set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String hostname
protected int port
Constructor Detail |
---|
public AppianJSONSocketTransport()
Method Detail |
---|
public void setServerURI(String uri)
setServerURI
in interface AppianJSONTransport
uri
- the server URI to be used.AppianJSONTransport.setServerURI(java.lang.String)
public List<org.json.JSONObject> transact(org.json.JSONObject toSend)
AppianJSONTransport
transact
in interface AppianJSONTransport
toSend
- The JSON data (envelope and all) to be transmitted
AppianJSONTransport.transact(org.json.JSONObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |