| Package | Description |
|---|---|
| com.sybase.esp.sdk | |
| com.sybase.esp.util.upload |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ServerController.addApplication(ServerController.ApplicationConfig app)
Deploys an application to the server
|
abstract void |
ServerController.addWorkspace(java.lang.String workspace)
Adds a workspace to the server
|
Publisher |
SDK.createPublisher(Uri uri,
Credentials creds)
Returns a
Publisher that can be used to publish data to the specified project. |
Publisher |
SDK.createPublisher(Uri uri,
Credentials creds,
PublisherOptions options)
Returns a
Publisher that can be used to publish data to the specified project. |
Subscriber |
SDK.createSubscriber(Uri uri,
Credentials creds)
Returns a new
Subscriber with default options. |
Subscriber |
SDK.createSubscriber(Uri uri,
Credentials creds,
SubscriberOptions options)
Returnes a new
Subscriber with the specified options. |
abstract void |
ServerController.deployPublicKey(java.lang.String usernameOrAlias,
byte[] pubKey)
Deploy a public key to the server
|
Server.Controller[] |
Server.getControllers()
Currently known controllers.
|
abstract Project.Deployment[] |
ServerController.getDeployments(java.lang.String workspace,
java.lang.String project)
Retrieve deployment information about a running application.
|
abstract byte[] |
ServerController.getEncryptedBytes(java.lang.String clearText)
Encrypt the supplied text using server's key.
|
Server.Manager[] |
Server.getManagers()
Currently known manager processes.
|
Project |
SDK.getProject(java.lang.String host,
int commandPort,
Credentials creds)
Returns a project object for a standalone project (one that has been started manually on the command line).
|
Project |
SDK.getProject(java.lang.String host,
int commandPort,
java.lang.String gatewayHost,
int gatewyPort,
Credentials creds,
ProjectOptions options)
Returns a project object for a standalone project (one that has been started manually on the command line).
|
Project |
Server.getProject(java.lang.String workspace,
java.lang.String projectName)
Is equivalent to the call
#getProject(String, ProjectOptions) with default project options. |
Project |
Server.getProject(java.lang.String workspace,
java.lang.String projectName,
ProjectOptions options)
Retrieves the Project object corresponding to the projectName.
|
Project |
SDK.getProject(Uri uri,
Credentials creds)
Retrieves a
Project object corresponding to the project refered to by the uri. |
Project |
SDK.getProject(Uri uri,
Credentials creds,
ProjectOptions options)
Retrieves a
Project object corresponding to the server project refered to by the uri using the
specified options. |
Server.Application[] |
Server.getRegisteredApplications()
Currently known applications.
|
java.lang.String[] |
Server.getWorkspaces()
Currently known workspaces.
|
static void |
SDK.logoffSession(java.lang.String sessionId)
Deregister the specified session id that has previously been retrieved using
SDK.getSessionId(Uri, Credentials) |
abstract void |
ServerController.reloadPolicy() |
abstract void |
ServerController.removeApplication(ServerController.ApplicationConfig app)
Removes a deployed application from the server
|
abstract void |
ServerController.removeApplication(java.lang.String workspace,
java.lang.String name)
Remove the application from server
|
abstract void |
ServerController.removeWorkspace(java.lang.String workspace)
Removes a workspace from the server
|
abstract void |
ServerController.startApplication(ServerController.ApplicationConfig app,
int millis)
Starts an deployed application on the server
|
abstract void |
ServerController.startApplication(java.lang.String workspace,
java.lang.String name,
int millis)
Starts an deployed application on the server
|
abstract void |
ServerController.startApplication(java.lang.String workspace,
java.lang.String name,
int instance,
int millis)
Starts an instance of an application on the server
|
abstract void |
ServerController.stopApplication(ServerController.ApplicationConfig app,
int millis)
Stops an application on the server
|
abstract void |
ServerController.stopApplication(java.lang.String workspace,
java.lang.String name,
int millis)
Stops an application on the server
|
abstract void |
ServerController.stopApplication(java.lang.String workspace,
java.lang.String name,
int instance,
int millis)
Stops an instance of an application on the server
|
abstract void |
ServerController.stopNode(java.lang.String node)
Stops a cluster node
|
abstract void |
ServerController.waitForStatus(ServerController.ApplicationConfig app,
Server.Status status,
int millis)
Wait until the specified application is in the specified status
|
abstract void |
ServerController.waitForStatus(java.lang.String workspace,
java.lang.String name,
Server.Status status,
int millis)
Wait until the specified application is in the specified status
|
| Modifier and Type | Method and Description |
|---|---|
void |
Uploader.connect(java.lang.String uri,
Credentials creds,
int blockSize)
Connects the uploader to the target project running in the server framework.
|
void |
Uploader.connect(java.lang.String host,
int port,
Credentials creds,
int blocksize)
Connect to a standalone project.
|