C# Class Droog.Beanstalk.Client.BeanstalkClient

Inheritance: IBeanstalkClient, IWatchedTubeClient
Exibir arquivo Open project: sdether/libBeanstalk.NET

Public Methods

Method Description
BeanstalkClient ( IConnectionPool pool ) : System
BeanstalkClient ( IPAddress address, int port ) : System
BeanstalkClient ( ISocket socket ) : System
BeanstalkClient ( string host, int port ) : System
Bury ( uint jobId, uint priority ) : bool
Delete ( uint jobId ) : bool
Dispose ( ) : void
GetJobStats ( uint jobId ) : Droog.Beanstalk.Client.JobStats
GetServerStats ( ) : Droog.Beanstalk.Client.ServerStats
GetTubeStats ( string tube ) : TubeStats
GetTubes ( ) : IEnumerable
Kick ( uint bound ) : uint
Peek ( uint jobId ) : Droog.Beanstalk.Client.Job
PeekBuried ( ) : Droog.Beanstalk.Client.Job
PeekDelayed ( ) : Droog.Beanstalk.Client.Job
PeekReady ( ) : Droog.Beanstalk.Client.Job
Put ( uint priority, System.TimeSpan delay, System.TimeSpan timeToRun, Stream request, long length ) : Droog.Beanstalk.Client.PutResponse
Release ( uint jobId, uint priority, System.TimeSpan delay ) : ReleaseStatus
Reserve ( ) : Droog.Beanstalk.Client.Job
Reserve ( System.TimeSpan timeout ) : Droog.Beanstalk.Client.Job
Touch ( uint jobId ) : bool
TryReserve ( System.TimeSpan timeout, Droog.Beanstalk.Client.Job &job ) : ReservationStatus

Private Methods

Method Description
Connected ( ) : bool
Dispose ( bool suppressFinalizer ) : void
Exec ( System.Net.Request request ) : Response
IWatchedTubeClient ( ) : IEnumerable
IWatchedTubeClient ( string tube ) : int
InitSocket ( ) : void
Peek ( System.Net.Request request ) : Droog.Beanstalk.Client.Job
ThrowIfDisposed ( ) : void
VerifyConnection ( ) : void

Method Details

BeanstalkClient() public method

public BeanstalkClient ( IConnectionPool pool ) : System
pool IConnectionPool
return System

BeanstalkClient() public method

public BeanstalkClient ( IPAddress address, int port ) : System
address System.Net.IPAddress
port int
return System

BeanstalkClient() public method

public BeanstalkClient ( ISocket socket ) : System
socket ISocket
return System

BeanstalkClient() public method

public BeanstalkClient ( string host, int port ) : System
host string
port int
return System

Bury() public method

public Bury ( uint jobId, uint priority ) : bool
jobId uint
priority uint
return bool

Delete() public method

public Delete ( uint jobId ) : bool
jobId uint
return bool

Dispose() public method

public Dispose ( ) : void
return void

GetJobStats() public method

public GetJobStats ( uint jobId ) : Droog.Beanstalk.Client.JobStats
jobId uint
return Droog.Beanstalk.Client.JobStats

GetServerStats() public method

public GetServerStats ( ) : Droog.Beanstalk.Client.ServerStats
return Droog.Beanstalk.Client.ServerStats

GetTubeStats() public method

public GetTubeStats ( string tube ) : TubeStats
tube string
return TubeStats

GetTubes() public method

public GetTubes ( ) : IEnumerable
return IEnumerable

Kick() public method

public Kick ( uint bound ) : uint
bound uint
return uint

Peek() public method

public Peek ( uint jobId ) : Droog.Beanstalk.Client.Job
jobId uint
return Droog.Beanstalk.Client.Job

PeekBuried() public method

public PeekBuried ( ) : Droog.Beanstalk.Client.Job
return Droog.Beanstalk.Client.Job

PeekDelayed() public method

public PeekDelayed ( ) : Droog.Beanstalk.Client.Job
return Droog.Beanstalk.Client.Job

PeekReady() public method

public PeekReady ( ) : Droog.Beanstalk.Client.Job
return Droog.Beanstalk.Client.Job

Put() public method

public Put ( uint priority, System.TimeSpan delay, System.TimeSpan timeToRun, Stream request, long length ) : Droog.Beanstalk.Client.PutResponse
priority uint
delay System.TimeSpan
timeToRun System.TimeSpan
request Stream
length long
return Droog.Beanstalk.Client.PutResponse

Release() public method

public Release ( uint jobId, uint priority, System.TimeSpan delay ) : ReleaseStatus
jobId uint
priority uint
delay System.TimeSpan
return ReleaseStatus

Reserve() public method

public Reserve ( ) : Droog.Beanstalk.Client.Job
return Droog.Beanstalk.Client.Job

Reserve() public method

public Reserve ( System.TimeSpan timeout ) : Droog.Beanstalk.Client.Job
timeout System.TimeSpan
return Droog.Beanstalk.Client.Job

Touch() public method

public Touch ( uint jobId ) : bool
jobId uint
return bool

TryReserve() public method

public TryReserve ( System.TimeSpan timeout, Droog.Beanstalk.Client.Job &job ) : ReservationStatus
timeout System.TimeSpan
job Droog.Beanstalk.Client.Job
return ReservationStatus