create
fun create(descriptor: ConnectionDescriptor, reports: List<ReportDescriptor>?, onConnectionComplete: (SASManager.Result) -> Unit? = null, onSubscribeComplete: (Server.Result) -> Unit? = null)
Creates a connections to a SAS Visual Analytics server.
Parameters
descriptor
describes the connection to create.
Content copied to clipboard
reports
optional reports to subscribe to once the connection has been created.
Content copied to clipboard
on Connection Complete
an optional callback invoked when the connection-creation process has completed
(successfully or otherwise).
Content copied to clipboard
on Subscribe Complete
an optional callback invoked when a subscription process has completed (successfully or
otherwise).
Content copied to clipboard
Throws
if an I/O error occurs while reading from input.
Content copied to clipboard