open_toontown_panda3d/panda/src/net/connectionReader.I

26 lines
884 B
Plaintext

// Filename: connectionReader.I
// Created by: drose (15Feb09)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: ConnectionReader::is_polling
// Access: Published
// Description: Returns true if the reader is a polling reader,
// i.e. it has no threads.
////////////////////////////////////////////////////////////////////
INLINE bool ConnectionReader::
is_polling() const {
return _polling;
}