public class BatchSessionImpl extends SessionImpl
authentication, callback, connectionTimeout, DEFAULT_CONNECTION_TIMEOUT, headers, server| Constructor and Description |
|---|
BatchSessionImpl(Session session) |
BatchSessionImpl(java.lang.String server) |
BatchSessionImpl(java.lang.String server,
Authentication authentication) |
BatchSessionImpl(java.lang.String server,
Authentication authentication,
BatchCallback callback) |
BatchSessionImpl(java.lang.String server,
Authentication authentication,
int connectionTimeout,
BatchCallback callback) |
BatchSessionImpl(java.lang.String server,
BatchCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
invoke() |
org.json.JSONArray |
invoke(org.json.JSONObject command) |
void |
setCallback(BatchCallback callback) |
org.json.JSONArray |
upload(org.json.JSONObject command) |
getAuthentication, getCallback, getConnectionTimeout, getHeaders, getServer, hasUploadData, setAuthentication, setCallback, setConnectionTimeout, setHeaders, setServer, uploadpublic BatchSessionImpl(Session session)
public BatchSessionImpl(java.lang.String server)
public BatchSessionImpl(java.lang.String server,
Authentication authentication)
public BatchSessionImpl(java.lang.String server,
Authentication authentication,
BatchCallback callback)
public BatchSessionImpl(java.lang.String server,
Authentication authentication,
int connectionTimeout,
BatchCallback callback)
public BatchSessionImpl(java.lang.String server,
BatchCallback callback)
public org.json.JSONArray invoke()
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray invoke(org.json.JSONObject command)
throws java.lang.Exception
invoke in interface Sessioninvoke in class SessionImpljava.lang.Exceptionpublic void setCallback(BatchCallback callback)
public org.json.JSONArray upload(org.json.JSONObject command)
throws java.lang.Exception
upload in interface Sessionupload in class SessionImpljava.lang.Exception