michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */ michael@0: michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: include protocol PNecko; michael@0: include protocol PTCPSocket; michael@0: michael@0: include "mozilla/net/NeckoMessageUtils.h"; michael@0: michael@0: namespace mozilla { michael@0: namespace net { michael@0: michael@0: //------------------------------------------------------------------- michael@0: protocol PTCPServerSocket michael@0: { michael@0: manager PNecko; michael@0: michael@0: parent: michael@0: Close(); michael@0: RequestDelete(); michael@0: michael@0: child: michael@0: CallbackAccept(PTCPSocket socket); michael@0: CallbackError(nsString message, nsString filename, michael@0: uint32_t lineNumber, uint32_t columnNumber); michael@0: __delete__(); michael@0: }; michael@0: michael@0: } // namespace net michael@0: } // namespace mozilla michael@0: