open_toontown_panda3d/panda/src/downloader/socketStream.I

48 lines
1.5 KiB
Plaintext

// Filename: socketStream.I
// Created by: drose (15Oct02)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://www.panda3d.org/license.txt .
//
// To contact the maintainers of this program write to
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: ISocketStream::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE ISocketStream::
ISocketStream(streambuf *buf) : istream(buf) {
_data_expected = 0;
}
////////////////////////////////////////////////////////////////////
// Function: OSocketStream::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE OSocketStream::
OSocketStream(streambuf *buf) : ostream(buf) {
}
////////////////////////////////////////////////////////////////////
// Function: SocketStream::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE SocketStream::
SocketStream(streambuf *buf) : iostream(buf) {
_data_expected = 0;
}