C# Class GearmanServer.ConnectionHandler

Show file Open project: johnewart/gearman.net

Public Methods

Method Description
ConnectionHandler ( TcpClient c, JobQueue _queue, string _hostName, ConcurrentDictionary _workers ) : System

Private Methods

Method Description
grabNextJob ( ) : void
handleJobCompletion ( Packet p ) : void
handleJobSubmitted ( Packet p, JobPriority priority, bool background ) : void
registerAbility ( Packet p ) : void
run ( ) : void

Method Details

ConnectionHandler() public method

public ConnectionHandler ( TcpClient c, JobQueue _queue, string _hostName, ConcurrentDictionary _workers ) : System
c System.Net.Sockets.TcpClient
_queue JobQueue
_hostName string
_workers ConcurrentDictionary
return System