Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

CacheServer::LoaderThread Class Reference

Inheritance diagram for CacheServer::LoaderThread:

ServerThread List of all members.

Public Member Functions

 this (AbstractServer server, ServerSocket socket, ClusterServer cs)
void load (IConduit conduit)

Private Member Functions

 this (AbstractServer server, ServerSocket socket)
ThreadReturn run ()

Private Attributes

ClusterCache cache
IBuffer buffer
ProtocolReader reader
ProtocolWriter writer
ILogger logger
ServerSocket socket
AbstractServer server
public class VersionAres typedef
void 
ThreadReturn
else typedef int ThreadReturn

Member Function Documentation

this AbstractServer  server,
ServerSocket  socket,
ClusterServer  cs
[inline]
 

Definition at line 385 of file ClusterServer.d.

References Buffer, buffer, cache, AbstractServer::getLogger(), logger, ProtocolReader, ProtocolWriter, reader, and writer.

void load IConduit  conduit  )  [inline]
 

Definition at line 412 of file ClusterServer.d.

References buffer, cache, IBuffer::clear(), ProtocolWriter::flush(), ProtocolReader::getPacket(), ProtocolReader::getPayload(), IPayload::getTime(), ILogger::isEnabled(), ICacheLoader::load(), ClusterCache::lockWhereInvalid(), logger, ProtocolWriter::OK, ClusterCache::put(), ProtocolWriter::put(), reader, IBuffer::setConduit(), ProtocolWriter::success(), ILogger::trace(), ILevel::Trace, ClusterCache::unlock(), and writer.

Referenced by CacheServer::service().

this AbstractServer  server,
ServerSocket  socket
[inline, inherited]
 

Construct a ServerThread for the given Server, upon the specified socket

Reimplemented in HttpThread.

Definition at line 71 of file ServerThread.d.

References ServerThread::server, AbstractServer::socket, and ServerThread::socket.

ThreadReturn run  )  [inline, inherited]
 

Definition at line 93 of file ServerThread.d.

References ServerSocket::accept(), ILogger::error(), ILogger::fatal(), AbstractServer::getLogger(), ServerThread::server, AbstractServer::service(), and ServerThread::socket.


Member Data Documentation

ClusterCache cache [private]
 

Definition at line 374 of file ClusterServer.d.

Referenced by load(), and this().

IBuffer buffer [private]
 

Definition at line 375 of file ClusterServer.d.

Referenced by load(), and this().

ProtocolReader reader [private]
 

Definition at line 376 of file ClusterServer.d.

Referenced by load(), and this().

ProtocolWriter writer [private]
 

Definition at line 377 of file ClusterServer.d.

Referenced by load(), and this().

ILogger logger [private]
 

Definition at line 378 of file ClusterServer.d.

Referenced by load(), and this().

ServerSocket socket [inherited]
 

Definition at line 61 of file ServerThread.d.

Referenced by ServerThread::run(), and ServerThread::this().

AbstractServer server [inherited]
 

Definition at line 62 of file ServerThread.d.

Referenced by ServerThread::run(), ServerThread::this(), and HttpBridge::this().

public class VersionAres typedef void ThreadReturn [inherited]
 

Execute this thread until the Server says to halt. Each thread waits in the socket.accept() state, waiting for a connection request to arrive. Upon selection, a thread dispatches the request via the request service-handler and, upon completion, enters the socket.accept() state once more.

Definition at line 88 of file ServerThread.d.

else typedef int ThreadReturn [inherited]
 

Definition at line 91 of file ServerThread.d.


The documentation for this class was generated from the following file:
Generated on Sat Dec 24 17:28:37 2005 for Mango by  doxygen 1.4.0