pub struct PeerControllerSynchronousProxy { /* private fields */ }
Implementations§
Source§impl PeerControllerSynchronousProxy
impl PeerControllerSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<PeerControllerEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<PeerControllerEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn set_configuration(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerSetConfigurationResult, Error>
pub fn set_configuration( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerSetConfigurationResult, Error>
Initiate a stream configuration procedure. No configuration information is specified because generic config information will be used to initiate the procedure.
Sourcepub fn get_configuration(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerGetConfigurationResult, Error>
pub fn get_configuration( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerGetConfigurationResult, Error>
Initiate a procedure to get the configuration information of the peer stream. The result is discarded because PeerController only initiates the procedure.
Sourcepub fn suspend_stream(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerSuspendStreamResult, Error>
pub fn suspend_stream( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerSuspendStreamResult, Error>
Initiate a suspend request to the stream. This command will not resume nor reconfigure the stream.
Sourcepub fn suspend_and_reconfigure(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerSuspendAndReconfigureResult, Error>
pub fn suspend_and_reconfigure( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerSuspendAndReconfigureResult, Error>
A “chained” set of procedures on the current stream. SuspendStream() followed by ReconfigureStream(). Reconfigure() configures the stream that is currently open.
Sourcepub fn establish_stream(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerEstablishStreamResult, Error>
pub fn establish_stream( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerEstablishStreamResult, Error>
Initiate stream establishment with the peer.
Sourcepub fn release_stream(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerReleaseStreamResult, Error>
pub fn release_stream( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerReleaseStreamResult, Error>
Release the current stream that is owned by the peer. If the streaming channel doesn’t exist, no action will be taken.
Sourcepub fn abort_stream(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerAbortStreamResult, Error>
pub fn abort_stream( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerAbortStreamResult, Error>
Initiate an abort procedure on the current stream. If the streaming channel doesn’t exist, no action will be taken.
Sourcepub fn start_stream(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerStartStreamResult, Error>
pub fn start_stream( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerStartStreamResult, Error>
Start streaming media on the current stream that is owned by the peer. If the streaming channel doesn’t exist, no action will be taken.
Sourcepub fn reconfigure_stream(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerReconfigureStreamResult, Error>
pub fn reconfigure_stream( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerReconfigureStreamResult, Error>
Initiate a reconfiguration procedure for the current stream. No configuration information is specified because a generic set of config information will be used to initiate the procedure.
Sourcepub fn get_capabilities(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerGetCapabilitiesResult, Error>
pub fn get_capabilities( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerGetCapabilitiesResult, Error>
Initiate a procedure to get the capabilities of the peer. The result is discarded because PeerController only initiates the procedure.
Sourcepub fn get_all_capabilities(
&self,
___deadline: MonotonicInstant,
) -> Result<PeerControllerGetAllCapabilitiesResult, Error>
pub fn get_all_capabilities( &self, ___deadline: MonotonicInstant, ) -> Result<PeerControllerGetAllCapabilitiesResult, Error>
Initiate a procedure to get the capabilities of the peer. The result is discarded because PeerController only initiates the procedure.
Trait Implementations§
Source§impl SynchronousProxy for PeerControllerSynchronousProxy
impl SynchronousProxy for PeerControllerSynchronousProxy
Source§type Proxy = PeerControllerProxy
type Proxy = PeerControllerProxy
Source§type Protocol = PeerControllerMarker
type Protocol = PeerControllerMarker
Proxy
controls.