onStreamCreated abstract method

void onStreamCreated(
  1. ConnectionId cid,
  2. int streamId,
  3. bool isInitiator
)

Called when a new UDX stream is created.

cid is the connection ID this stream belongs to. streamId is the stream ID. isInitiator indicates whether this endpoint initiated the stream.

Implementation

void onStreamCreated(ConnectionId cid, int streamId, bool isInitiator);