Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
G
H
J
M
N
R
S
A
addFile(String, String, int)
- Method in class com.equilibrium.util.api.
MGRequest
Add the specified file to the request and associate it with the given remotePath.
addFile(String, String, String, int)
- Method in class com.equilibrium.util.api.
MGRequest
Add the specified file to the request and associate it with the given remotePath.
addFileParam(String, int)
- Method in class com.equilibrium.util.api.
MGRequest
Send a file to the MediaGenerator along with the request.
addStringAsFile(String, String)
- Method in class com.equilibrium.util.api.
MGRequest
Send the specified string to the MediaGenerator as a file parameter.
addStringAsFile(String, String, String)
- Method in class com.equilibrium.util.api.
MGRequest
Send the specified string to the MediaGenerator as a file parameter.
B
batchAbort(int, String)
- Method in class com.equilibrium.util.api.
MGConnection
Abort the specified batch.
batchesExecuting()
- Method in class com.equilibrium.util.api.
MGConnection
Return the ids of the batches currently executing.
batchForget(int)
- Method in class com.equilibrium.util.api.
MGConnection
Tell the server to forget about the batch with the specified id.
batchStatus(int, int)
- Method in class com.equilibrium.util.api.
MGConnection
Return the batch status of the batch with the specified id based on the specified flags.
batchStatus(int)
- Method in class com.equilibrium.util.api.
MGConnection
Return the batch status of the batch with the specified id.
C
close()
- Method in class com.equilibrium.util.api.
MGConnection
Close and cleanup this connection.
com.equilibrium.util.api
- package com.equilibrium.util.api
This package contains the application interface to MediaRich.
commit()
- Method in class com.equilibrium.util.api.
MGBatch
Commit the batch after all jobs have been submitted.
commit()
- Method in class com.equilibrium.util.api.
MGRequest
Commit the request and return the response.
createBatch()
- Method in class com.equilibrium.util.api.
MGConnection
Create an unnamed Batch.
createBatch(String, boolean)
- Method in class com.equilibrium.util.api.
MGConnection
Create a named Batch and specify whether to track completed jobs.
createBatch(String)
- Method in class com.equilibrium.util.api.
MGConnection
Create a named Batch.
createErrorScriptRequest()
- Method in class com.equilibrium.util.api.
MGBatch
Create a request for an error job for this batch.
createJobRequest()
- Method in class com.equilibrium.util.api.
MGBatch
Create a normal job request.
createJobRequest(boolean, boolean, boolean)
- Method in class com.equilibrium.util.api.
MGBatch
Return a new job request, specifying if the job should block the thread, wait for previous jobs to complete or hold subsequent jobs until this job completes.
createPostscriptRequest()
- Method in class com.equilibrium.util.api.
MGBatch
Create a postscript job request.
createPrescriptRequest()
- Method in class com.equilibrium.util.api.
MGBatch
Create a prescript request.
createRequest()
- Method in class com.equilibrium.util.api.
MGConnection
Create a new request.
D
discard()
- Method in class com.equilibrium.util.api.
MGBatch
Discard this batch.
discard()
- Method in class com.equilibrium.util.api.
MGRequest
Discard the current request.
discard()
- Method in class com.equilibrium.util.api.
MGResponse
Forget the rest of the response.
G
getAborted()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return true if the batch is aborted.
getBatches()
- Method in class com.equilibrium.util.api.
MGBatchesExecutingResponse
Return the array of batch ids.
getBatchInfo()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return the BatchInfo field of the batch status.
getBatchJobErrors()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return a list of error strings, one for each job in the batch.
getBatchJobExecutingStatus()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return a list of executing status strings, one for each job in the batch.
getBatchJobStatus()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return the status for each job of the batch.
getBatchName()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return the BatchName field of the batch status.
getCompletedBatches()
- Method in class com.equilibrium.util.api.
MGBatchesExecutingResponse
Return the array of completed batch ids.
getConnectionTimeout()
- Method in class com.equilibrium.util.api.
MGConnection
Return this connection's timeout value.
getContentKey()
- Method in class com.equilibrium.util.api.
MGResponse
Return the message key for the content or
null
if there is no content.
getContentLength()
- Method in class com.equilibrium.util.api.
MGResponse
Return the content length for the content or 0.
getContentMimeType()
- Method in class com.equilibrium.util.api.
MGResponse
Return the content mime type for the response.
getDone()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return true if the job has completed.
getDoubleParam(String)
- Method in class com.equilibrium.util.api.
MGResponse
Return the parameter associated with key coerced to a double.
getErrored()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return the number of jobs generating script errors
getExecuting()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return true if the batch is executing.
getFileFound()
- Method in class com.equilibrium.util.api.
MGFileResponse
Return true if the requested file was found.
getHostName()
- Method in class com.equilibrium.util.api.
MGConnection
Return the host name for this connection.
getHttpHeader(String)
- Method in class com.equilibrium.util.api.
MGResponse
Return the named http header.
getHttpHeaders()
- Method in class com.equilibrium.util.api.
MGResponse
Return the http header dictionary.
getID()
- Method in class com.equilibrium.util.api.
MGBatch
Return the batch id for this batch.
getIntArrayParam(String)
- Method in class com.equilibrium.util.api.
MGResponse
Return int array parameter from comma separated list response.
getIntParam(String)
- Method in class com.equilibrium.util.api.
MGResponse
Return the parameter associated key coerced to an integer.
getLongParam(String)
- Method in class com.equilibrium.util.api.
MGResponse
Return the parameter associated key coerced to a long integer.
getMgSessionId()
- Method in class com.equilibrium.util.api.
MGBatch
Return the MG Session ID for this batch
getOpen()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return true if the batch request is still open (i.e., commit has not been called.)
getParam(String)
- Method in class com.equilibrium.util.api.
MGResponse
Get a message response parameter.
getParameters()
- Method in class com.equilibrium.util.api.
MGResponse
Return the keys collected from the message so far.
getPort()
- Method in class com.equilibrium.util.api.
MGConnection
Return the port for this connection.
getResponsePath()
- Method in class com.equilibrium.util.api.
MGResponse
Return the path to the generated file if there is one.
getStatusCode()
- Method in class com.equilibrium.util.api.
MGResponse
Return the status code for the reponse.
getSubmitted()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return the number of jobs submitted.
getSucceeded()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return the number of jobs that succeeded.
getTextResponse()
- Method in class com.equilibrium.util.api.
MGResponse
Convenience method for getting a text-only response as a string.
getTracked()
- Method in class com.equilibrium.util.api.
MGBatchStatusResponse
Return true if the media generator knows about this batch.
H
hasContent()
- Method in class com.equilibrium.util.api.
MGResponse
Return true if the if there is file content available, false otherwise.
J
JOB_IS_ERROR
- Static variable in class com.equilibrium.util.api.
MGBatchStatusResponse
define response value for getBatchJobStatus
JOB_IS_PENDING
- Static variable in class com.equilibrium.util.api.
MGBatchStatusResponse
define response value for getBatchJobStatus
JOB_IS_SUCCESS
- Static variable in class com.equilibrium.util.api.
MGBatchStatusResponse
define response value for getBatchJobStatus
M
MGBatch
- Class in
com.equilibrium.util.api
Handle creation and submission of Batches.
MGBatchesExecutingResponse
- Class in
com.equilibrium.util.api
MediaGenerator response indicating the batch jobs currently executing on the server and those jobs that have completed execution.
MGBatchStatusResponse
- Class in
com.equilibrium.util.api
MediaGenerator response with information about the specified batch.
MGConnection
- Class in
com.equilibrium.util.api
A connection to a MediaGenerator.
MGConnection()
- Constructor for class com.equilibrium.util.api.
MGConnection
Construct a default (localhost:9877) connection
MGConnection(String)
- Constructor for class com.equilibrium.util.api.
MGConnection
Construct a connection with the specified host and default port.
MGConnection(String, int)
- Constructor for class com.equilibrium.util.api.
MGConnection
Construct a connection to the specified host and port.
MGConnection(String, int, int)
- Constructor for class com.equilibrium.util.api.
MGConnection
Construct a connection to the specified host and port with the specified timeout.
MGConnection.Flags
- Class in
com.equilibrium.util.api
Flags intended for use with various methods on the MGConnection class.
MGConnection.Flags()
- Constructor for class com.equilibrium.util.api.
MGConnection.Flags
MGException
- Exception in
com.equilibrium.util.api
MGException is used to designate errors returned from the MediaRich server (as opposed to communications errors).
MGException()
- Constructor for exception com.equilibrium.util.api.
MGException
Construct exception
MGException(String)
- Constructor for exception com.equilibrium.util.api.
MGException
Construct exception with the given message
MGFileResponse
- Class in
com.equilibrium.util.api
Response to a file request.
MGRequest
- Class in
com.equilibrium.util.api
This class is used to make MediaGenerator requests.
MGResponse
- Class in
com.equilibrium.util.api
Represents the response from the MediaGenerator.
N
None
- Static variable in class com.equilibrium.util.api.
MGConnection.Flags
Specify no flags
R
readContent(byte[])
- Method in class com.equilibrium.util.api.
MGResponse
Fill the buffer with response data.
requestFile(String)
- Method in class com.equilibrium.util.api.
MGBatch
Request a file generated during this batch.
requestFile(String)
- Method in class com.equilibrium.util.api.
MGConnection
Create a request for a file from the MediaGenerator.
requestFile(String, int)
- Method in class com.equilibrium.util.api.
MGConnection
Create a request for a file from the MediaGenerator.
requestSessionId()
- Method in class com.equilibrium.util.api.
MGConnection
Return the session ID for this request.
requestSharedFile(String, int)
- Method in class com.equilibrium.util.api.
MGConnection
Create a request for a file from the MediaGenerator.
S
SendErrors
- Static variable in class com.equilibrium.util.api.
MGConnection.Flags
Ask to be sent status information about errors
SendErrorsIfDone
- Static variable in class com.equilibrium.util.api.
MGConnection.Flags
Ask to be sent status information about errors if the job is done
SendExecutingStatus
- Static variable in class com.equilibrium.util.api.
MGConnection.Flags
Ask to be sent a list of executing status strings, one for each job in the batch
sendFileParamData(byte[], int)
- Method in class com.equilibrium.util.api.
MGRequest
Send the data associated with the file parameter.
SendXML
- Static variable in class com.equilibrium.util.api.
MGConnection.Flags
Send back the status of one or more jobs as XML
setBatchInfo(String)
- Method in class com.equilibrium.util.api.
MGBatch
Set an info string for this batch.
setClientType(long, String)
- Static method in class com.equilibrium.util.api.
MGRequest
Set the client type for all instances MGRequest.
setFunction(String)
- Method in class com.equilibrium.util.api.
MGRequest
Specify the entry point function within the script.
setFunction(String, String)
- Method in class com.equilibrium.util.api.
MGRequest
Specify the entry point function and script..
setParam(String, String)
- Method in class com.equilibrium.util.api.
MGRequest
Set the script parameter for key to the specified value.
setPriority(int)
- Method in class com.equilibrium.util.api.
MGRequest
Set the priority for the request.
setScript(String)
- Method in class com.equilibrium.util.api.
MGRequest
Designate the path to the script to execute.
streamResponse(OutputStream)
- Method in class com.equilibrium.util.api.
MGResponse
Stream the response to the designated stream.
A
B
C
D
G
H
J
M
N
R
S
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes