Stream.open()
DESCRIPTION
Open a stream. This function blocks until the stream is opened.
DECLARATION
public void open(int streamPort)
PARAMETERS
streamPort:
- The streamPort to use on the remote server, a streamPort is a demultiplexing id.
THROWS EXCEPTIONS
NabtoRuntimeException:
- with error code
STOPPED
if the stream or a parent object was stopped. NabtoRuntimeException:
- with error code
NOT_CONNECTED
if the connection is not established yet.