bool NeckoParent::DeallocPTCPServerSocketParent(PTCPServerSocketParent* actor) { TCPServerSocketParent* p = static_cast<TCPServerSocketParent*>(actor); p->ReleaseIPDLReference(); return true; }
PTCPServerSocketParent* NeckoParent::AllocPTCPServerSocketParent(const uint16_t& aLocalPort, const uint16_t& aBacklog, const nsString& aBinaryType) { TCPServerSocketParent* p = new TCPServerSocketParent(); p->AddIPDLReference(); return p; }
PTCPServerSocketParent* NeckoParent::AllocPTCPServerSocketParent(const uint16_t& aLocalPort, const uint16_t& aBacklog, const bool& aUseArrayBuffers) { TCPServerSocketParent* p = new TCPServerSocketParent(this, aLocalPort, aBacklog, aUseArrayBuffers); p->AddIPDLReference(); return p; }