Struct xpcom::interfaces::nsITLSServerConnectionInfo
[−]
[src]
#[repr(C)]pub struct nsITLSServerConnectionInfo { /* fields omitted */ }
interface nsITLSServerConnectionInfo : nsISupports
/**
* Connection info for a given TLS client connection being handled by a
* |nsITLSServerSocket| server. This object is thread-safe.
*
* This is exposed as the security info object on the transport, so it can be
* accessed via |transport.securityInfo|.
*
* This interface is available by the time the |onSocketAttached| is called,
* which is the first time the TLS server consumer is notified of a new client.
*/
Methods
impl nsITLSServerConnectionInfo
[src]
pub fn coerce<T: nsITLSServerConnectionInfoCoerce>(&self) -> &T
[src]
Cast this nsITLSServerConnectionInfo
to one of its base interfaces.
impl nsITLSServerConnectionInfo
[src]
pub unsafe fn SetSecurityObserver(
&self,
observer: *const nsITLSServerSecurityObserver
) -> nsresult
[src]
&self,
observer: *const nsITLSServerSecurityObserver
) -> nsresult
/**
* setSecurityObserver
*
* Set the security observer to be notified when the TLS handshake has
* completed.
*/
void setSecurityObserver (in nsITLSServerSecurityObserver observer);
pub unsafe fn GetServerSocket(
&self,
aServerSocket: *mut *const nsITLSServerSocket
) -> nsresult
[src]
&self,
aServerSocket: *mut *const nsITLSServerSocket
) -> nsresult
/**
* serverSocket
*
* The nsITLSServerSocket instance that accepted this client connection.
*/
readonly attribute nsITLSServerSocket serverSocket;
pub unsafe fn GetStatus(
&self,
aStatus: *mut *const nsITLSClientStatus
) -> nsresult
[src]
&self,
aStatus: *mut *const nsITLSClientStatus
) -> nsresult
/**
* status
*
* Security summary for this TLS client connection. Note that the values of
* this interface are not available until the TLS handshake has completed.
* See |nsITLSClientStatus| above for more details.
*/
readonly attribute nsITLSClientStatus status;
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 nsITLSServerConnectionInfo
[src]
const IID: nsIID
IID: nsIID = nsID(2324952533, 60893, 19554, [164, 189, 191, 210, 151, 101, 49, 132])
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 nsITLSServerConnectionInfo
[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 nsITLSServerConnectionInfo
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.