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
STOPPEDif the stream or a parent object was stopped. NabtoRuntimeException:- with error code
NOT_CONNECTEDif the connection is not established yet.