C# Class Twingly.Gearman.GearmanConnection

Inheritance: IGearmanConnection
Afficher le fichier Open project: twingly/GearmanSharp

Méthodes publiques

Méthode Description
Connect ( ) : void
Disconnect ( ) : void
GearmanConnection ( string host, int port ) : System
GetNextPacket ( ) : IResponsePacket
IsConnected ( ) : bool

Checks if the underlying socket and stream is connected and available.

IsDead ( ) : bool
MarkAsDead ( ) : void
SendPacket ( RequestPacket p ) : void

Private Methods

Méthode Description
Close ( ) : void

Method Details

Connect() public méthode

public Connect ( ) : void
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

GearmanConnection() public méthode

public GearmanConnection ( string host, int port ) : System
host string
port int
Résultat System

GetNextPacket() public méthode

public GetNextPacket ( ) : IResponsePacket
Résultat IResponsePacket

IsConnected() public méthode

Checks if the underlying socket and stream is connected and available.
public IsConnected ( ) : bool
Résultat bool

IsDead() public méthode

public IsDead ( ) : bool
Résultat bool

MarkAsDead() public méthode

public MarkAsDead ( ) : void
Résultat void

SendPacket() public méthode

public SendPacket ( RequestPacket p ) : void
p Twingly.Gearman.Packets.RequestPacket
Résultat void