Struct xpcom::interfaces::nsIUDPSocketChild [] [src]

#[repr(C)]
pub struct nsIUDPSocketChild { /* fields omitted */ }

interface nsIUDPSocketChild : nsISupports

Methods

impl nsIUDPSocketChild
[src]

[src]

Cast this nsIUDPSocketChild to one of its base interfaces.

impl nsIUDPSocketChild
[src]

[src]

readonly attribute unsigned short localPort;

[src]

readonly attribute AUTF8String localAddress;

[src]

attribute AUTF8String filterName;

[src]

attribute AUTF8String filterName;

[src]

[noscript] void setBackgroundSpinsEvents ();

[src]

void bind (in nsIUDPSocketInternal socket, in nsIPrincipal principal, in AUTF8String host, in unsigned short port, in bool addressReuse, in bool loopback, in uint32_t recvBufferSize, in uint32_t sendBufferSize, [optional] in nsIEventTarget mainThreadTarget);

[src]

void connect (in nsIUDPSocketInternal socket, in AUTF8String host, in unsigned short port);

[src]

void send (in AUTF8String host, in unsigned short port, [array, size_is (byteLength), const] in uint8_t bytes, in unsigned long byteLength);

[src]

void sendWithAddr (in nsINetAddr addr, [array, size_is (byteLength), const] in uint8_t bytes, in unsigned long byteLength);

[src]

void sendBinaryStream (in AUTF8String host, in unsigned short port, in nsIInputStream stream);

[src]

void close ();

[src]

void joinMulticast (in AUTF8String multicastAddress, in AUTF8String iface);

[src]

void leaveMulticast (in AUTF8String multicastAddress, in AUTF8String iface);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIUDPSocketChild
[src]

IID: nsIID = nsID(510318395, 27653, 19832, [154, 136, 45, 53, 123, 136, 245, 139])

[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 nsIUDPSocketChild
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIUDPSocketChild
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.