C# Класс Beanstalk.Client.BeanstalkConnection

Наследование: IBeanstalkConnection
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BeanstalkConnection ( IPAddress address, int port ) : System

Initializes a new instance of the BeanstalkConnection class.

BeanstalkConnection ( IPEndPoint endpoint ) : System

Initializes a new instance of the BeanstalkConnection class.

Close ( ) : void

Closes this instance.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Put ( byte data ) : IJob

Puts the specified data.

Put ( byte data, int priority, System.TimeSpan delay, System.TimeSpan timeToRun ) : IJob

Puts the specified data.

Put ( string data ) : IJob

Puts the specified data.

Put ( string data, int priority, System.TimeSpan delay, System.TimeSpan timeToRun ) : IJob

Puts the specified data.

Use ( string tube ) : void

Uses the specified tube.

Приватные методы

Метод Описание
Connect ( ) : void

Connects this instance.

Описание методов

BeanstalkConnection() публичный Метод

Initializes a new instance of the BeanstalkConnection class.
public BeanstalkConnection ( IPAddress address, int port ) : System
address System.Net.IPAddress The address.
port int The port.
Результат System

BeanstalkConnection() публичный Метод

Initializes a new instance of the BeanstalkConnection class.
public BeanstalkConnection ( IPEndPoint endpoint ) : System
endpoint System.Net.IPEndPoint The end point.
Результат System

Close() публичный Метод

Closes this instance.
public Close ( ) : void
Результат void

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Put() публичный Метод

Puts the specified data.
public Put ( byte data ) : IJob
data byte The data.
Результат IJob

Put() публичный Метод

Puts the specified data.
public Put ( byte data, int priority, System.TimeSpan delay, System.TimeSpan timeToRun ) : IJob
data byte The data.
priority int The priority.
delay System.TimeSpan The delay.
timeToRun System.TimeSpan The time to run.
Результат IJob

Put() публичный Метод

Puts the specified data.
public Put ( string data ) : IJob
data string The data.
Результат IJob

Put() публичный Метод

Puts the specified data.
public Put ( string data, int priority, System.TimeSpan delay, System.TimeSpan timeToRun ) : IJob
data string The data.
priority int The priority.
delay System.TimeSpan The delay.
timeToRun System.TimeSpan The time to run.
Результат IJob

Use() публичный Метод

Uses the specified tube.
public Use ( string tube ) : void
tube string The tube.
Результат void