//===========================================================================// // File: l4net.cpp // // Project: MUNGA Brick: L4 Network // // Contents: Implementation details for the L4 network manager // //---------------------------------------------------------------------------// // Copyright (C) 1994-1995, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #include #pragma hdrstop #if !defined(L4NET_HPP) # include #endif L4NetworkManager::L4NetworkManager(): NetworkManager(NetworkManager::DefaultData), messageBuffer(this) { Fail("L4NetworkManager -- l4net.cpp not yet reconstructed"); } void L4NetworkManager::CreateConsoleHost() { Fail("L4NetworkManager::CreateConsoleHost -- l4net.cpp not yet reconstructed"); } L4NetworkManager__MessageBuffer::L4NetworkManager__MessageBuffer(L4NetworkManager *network_manager): messageQueueSocket(NULL, 1) { networkManager = network_manager; bufferSize = 0; } L4NetworkManager__MessageBuffer::~L4NetworkManager__MessageBuffer() { } // //############################################################################# // Staged bodies: real l4net.cpp not yet reconstructed. Methods that a // standalone (non-networked) boot may touch are benign no-ops; methods that // imply real network traffic Fail loudly. //############################################################################# // L4NetworkManager::~L4NetworkManager() { } void L4NetworkManager::Send(Message *, ClientID, HostID) { Fail("L4NetworkManager::Send -- l4net.cpp not yet reconstructed"); } void L4NetworkManager::ExclusiveBroadcast(Message *, ClientID) { Fail("L4NetworkManager::ExclusiveBroadcast -- l4net.cpp not yet reconstructed"); } void L4NetworkManager::StartConnecting(Mission *) { Fail("L4NetworkManager::StartConnecting -- l4net.cpp not yet reconstructed"); } Logical L4NetworkManager::Shutdown() { return 1; } Logical L4NetworkManager::CheckBuffers(NetworkPacket *) { Fail("L4NetworkManager::CheckBuffers -- l4net.cpp not yet reconstructed"); return 0; } void L4NetworkManager::RemovePacket(NetworkPacket *) { Fail("L4NetworkManager::RemovePacket -- l4net.cpp not yet reconstructed"); } Logical L4NetworkManager::ExecuteBackground() { return 0; } void L4NetworkManager::Marker(char *) { } void L4NetworkManager::Mode(NetworkMode) { } // //############################################################################# // NetNub client-side globals (real home: l4net.cpp). Net_Common_Ptr NULL = // no NetNub TSR loaded; L4File then takes its plain-DOS path (L4FILE.CPP:32). //############################################################################# // Netcom_Ptr Net_Common_Ptr = NULL; void NetNub::SendCommand() { Fail("NetNub::SendCommand -- l4net.cpp not yet reconstructed"); }