DualEndpoint
An implementation of CombineEndpoint that combines two endpoints. The mainEndpoint is the only one closed and opened by this endpoint. The secondEndpoint is opened and closed by the user.
For example, you can combine a local endpoint and a remote endpoint to record and stream at the same time. In that case, the local endpoint will be the mainEndpoint and the remote endpoint will be the secondEndpoint.
Parameters
the main endpoint
the second endpoint
Properties
Internal map of endpoint streamId to real streamIds
The union of all endpoints' IEndpoint.IEndpointInfo.
Whether at least one endpoint is open. This is a combination of all endpoints' IEndpoint.isOpenFlow.
Throws UnsupportedOperationException because CombineEndpoint does not have metrics.
Functions
Registers a new stream to the IEndpointInternal.
Registers new streams to the IEndpointInternal.
The union of all endpoints' IEndpoint.IEndpointInfo.
Gets configuration information
Opens the mainEndpoint.
Opens the secondEndpoint.
Releases an IEndpointInternal.
Starts the mainEndpoint.
Starts the secondEndpoint.
Opens the secondEndpoint and starts the stream.
Stops all endpoints