Struct xpcom::interfaces::nsIChildChannel
[−]
[src]
#[repr(C)]pub struct nsIChildChannel { /* fields omitted */ }
interface nsIChildChannel : nsISupports
/**
* Implemented by content side of IPC protocols.
*/
Methods
impl nsIChildChannel
[src]
pub fn coerce<T: nsIChildChannelCoerce>(&self) -> &T
[src]
Cast this nsIChildChannel
to one of its base interfaces.
impl nsIChildChannel
[src]
pub unsafe fn ConnectParent(&self, registrarId: uint32_t) -> nsresult
[src]
/**
* Create the chrome side of the IPC protocol and join an existing 'real'
* channel on the parent process. The id is provided by
* nsIRedirectChannelRegistrar on the chrome process and pushed to the child
* protocol as an argument to event starting a redirect.
*
* Primarilly used in HttpChannelChild::Redirect1Begin on a newly created
* child channel, where the new channel is intended to be created on the
* child process.
*/
void connectParent (in uint32_t registrarId);
pub unsafe fn CompleteRedirectSetup(
&self,
aListener: *const nsIStreamListener,
aContext: *const nsISupports
) -> nsresult
[src]
&self,
aListener: *const nsIStreamListener,
aContext: *const nsISupports
) -> nsresult
/**
* As AsyncOpen is called on the chrome process for redirect target channels,
* we have to inform the child side of the protocol of that fact by a special
* method.
*/
void completeRedirectSetup (in nsIStreamListener aListener, in nsISupports aContext);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIChildChannel
[src]
const IID: nsIID
IID: nsIID = nsID(3294335662, 20231, 16861, [176, 239, 170, 4, 78, 234, 187, 30])
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 nsIChildChannel
[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 nsIChildChannel
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.