Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference

 

StreamHTTPParms interface

Represents HTTP stream parameters that define how to communicate with a MobiLink server using HTTP.

Syntax
public StreamHTTPParms
Derived classes
Remarks

The following example sets the stream parameters to communicate with a MobiLink 11 server on host name "MyMLHost". The server started with the following parameters: "-xo http(port=1234)":

SyncParms syncParms = myConnection.createSyncParms(
    SyncParms.HTTP_STREAM,
    "MyUniqueMLUserID",
    "MyMLScriptVersion"
);
StreamHTTPParms httpParms = syncParms.getStreamParms();
httpParms.setHost("MyMLHost");
httpParms.setPort(1234);

Instances implementing this interface are returned by the getStreamParms function method.

Members

All members of StreamHTTPParms, including all inherited members.


getHost method
getOutputBufferSize method
getPort method
getURLSuffix method
setHost method
setOutputBufferSize method
setPort method
setURLSuffix method