C# Class Twingly.Gearman.GearmanConnection

Inheritance: IGearmanConnection
Mostrar archivo Open project: twingly/GearmanSharp

Public Methods

Method 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

Method Description
Close ( ) : void

Method Details

Connect() public method

public Connect ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

GearmanConnection() public method

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

GetNextPacket() public method

public GetNextPacket ( ) : IResponsePacket
return IResponsePacket

IsConnected() public method

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

IsDead() public method

public IsDead ( ) : bool
return bool

MarkAsDead() public method

public MarkAsDead ( ) : void
return void

SendPacket() public method

public SendPacket ( RequestPacket p ) : void
p Twingly.Gearman.Packets.RequestPacket
return void