| Package | Description |
|---|---|
| com.sybase.esp.sdk | |
| com.sybase.esp.util.upload |
| Modifier and Type | Method and Description |
|---|---|
Credentials |
Credentials.Builder.create()
Used to create a Credentials object after the Credentials.Builder
has been initialized with the appropriate values.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
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 |
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 |
SDK.getServer(Uri cUri,
Credentials creds)
Creates a Server object with default options.
|
Server |
SDK.getServer(Uri cUri,
Credentials creds,
ServerOptions options)
Retrieves a
Server object representing a running instance of a server manager. |
static java.lang.String |
SDK.getSessionId(Uri server,
Credentials creds)
Logs in to the server using the provided credentials and returns a valid session id.
|
| 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.
|