Struct xpcom::interfaces::nsIPresentationTCPSessionTransportBuilder
[−]
[src]
#[repr(C)]pub struct nsIPresentationTCPSessionTransportBuilder { /* fields omitted */ }
interface nsIPresentationTCPSessionTransportBuilder : nsIPresentationSessionTransportBuilder
/**
* Builder for TCP session transport
*/
Methods
impl nsIPresentationTCPSessionTransportBuilder
[src]
pub fn coerce<T: nsIPresentationTCPSessionTransportBuilderCoerce>(&self) -> &T
[src]
Cast this nsIPresentationTCPSessionTransportBuilder
to one of its base interfaces.
impl nsIPresentationTCPSessionTransportBuilder
[src]
pub unsafe fn BuildTCPSenderTransport(
&self,
aTransport: *const nsISocketTransport,
aListener: *const nsIPresentationSessionTransportBuilderListener
) -> nsresult
[src]
&self,
aTransport: *const nsISocketTransport,
aListener: *const nsIPresentationSessionTransportBuilderListener
) -> nsresult
/**
* The following creation functions will trigger |listener.onSessionTransport|
* if the session transport is successfully built, |listener.onError| if some
* error occurs during building session transport.
*/
void buildTCPSenderTransport (in nsISocketTransport aTransport, in nsIPresentationSessionTransportBuilderListener aListener);
pub unsafe fn BuildTCPReceiverTransport(
&self,
aDescription: *const nsIPresentationChannelDescription,
aListener: *const nsIPresentationSessionTransportBuilderListener
) -> nsresult
[src]
&self,
aDescription: *const nsIPresentationChannelDescription,
aListener: *const nsIPresentationSessionTransportBuilderListener
) -> nsresult
void buildTCPReceiverTransport (in nsIPresentationChannelDescription aDescription, in nsIPresentationSessionTransportBuilderListener aListener);
Methods from Deref<Target = nsIPresentationSessionTransportBuilder>
pub fn coerce<T: nsIPresentationSessionTransportBuilderCoerce>(&self) -> &T
[src]
Cast this nsIPresentationSessionTransportBuilder
to one of its base interfaces.
Trait Implementations
impl XpCom for nsIPresentationTCPSessionTransportBuilder
[src]
const IID: nsIID
IID: nsIID = nsID(3454233966, 62577, 16994, [167, 13, 249, 50, 162, 107, 33, 217])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIPresentationTCPSessionTransportBuilder
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIPresentationTCPSessionTransportBuilder
[src]
type Target = nsIPresentationSessionTransportBuilder
The resulting type after dereferencing.
fn deref(&self) -> &nsIPresentationSessionTransportBuilder
[src]
Dereferences the value.