C# Class Twingly.Gearman.GearmanProtocol

Afficher le fichier Open project: twingly/GearmanSharp

Méthodes publiques

Méthode Description
JoinByteArraysForData ( ) : byte[]

Concatenates a number of byte arrays with \0 between them.

PackRequest ( PacketType packetType ) : RequestPacket
PackRequest ( PacketType packetType, string arg1 ) : RequestPacket
PackRequest ( PacketType packetType, string arg1, byte arg2 ) : RequestPacket
PackRequest ( PacketType packetType, string arg1, string arg2 ) : RequestPacket
PackRequest ( PacketType packetType, string arg1, string arg2, byte arg3 ) : RequestPacket
PackRequest ( PacketType packetType, string arg1, string arg2, string arg3 ) : RequestPacket
UnpackErrorReponse ( IResponsePacket response ) : GearmanServerException
UnpackJobAssignResponse ( IResponsePacket response ) : GearmanJobInfo
UnpackJobCreatedResponse ( IResponsePacket response ) : string
UnpackStatusResponse ( IResponsePacket response ) : GearmanJobStatus
UnpackWorkCompleteResponse ( IResponsePacket response ) : GearmanJobData
UnpackWorkDataResponse ( IResponsePacket response ) : GearmanJobData

Méthodes protégées

Méthode Description
GearmanProtocol ( IGearmanConnection connection ) : System

Method Details

GearmanProtocol() protected méthode

protected GearmanProtocol ( IGearmanConnection connection ) : System
connection IGearmanConnection
Résultat System

JoinByteArraysForData() public static méthode

Concatenates a number of byte arrays with \0 between them.
public static JoinByteArraysForData ( ) : byte[]
Résultat byte[]

PackRequest() public static méthode

public static PackRequest ( PacketType packetType ) : RequestPacket
packetType PacketType
Résultat Twingly.Gearman.Packets.RequestPacket

PackRequest() public static méthode

public static PackRequest ( PacketType packetType, string arg1 ) : RequestPacket
packetType PacketType
arg1 string
Résultat Twingly.Gearman.Packets.RequestPacket

PackRequest() public static méthode

public static PackRequest ( PacketType packetType, string arg1, byte arg2 ) : RequestPacket
packetType PacketType
arg1 string
arg2 byte
Résultat Twingly.Gearman.Packets.RequestPacket

PackRequest() public static méthode

public static PackRequest ( PacketType packetType, string arg1, string arg2 ) : RequestPacket
packetType PacketType
arg1 string
arg2 string
Résultat Twingly.Gearman.Packets.RequestPacket

PackRequest() public static méthode

public static PackRequest ( PacketType packetType, string arg1, string arg2, byte arg3 ) : RequestPacket
packetType PacketType
arg1 string
arg2 string
arg3 byte
Résultat Twingly.Gearman.Packets.RequestPacket

PackRequest() public static méthode

public static PackRequest ( PacketType packetType, string arg1, string arg2, string arg3 ) : RequestPacket
packetType PacketType
arg1 string
arg2 string
arg3 string
Résultat Twingly.Gearman.Packets.RequestPacket

UnpackErrorReponse() public static méthode

public static UnpackErrorReponse ( IResponsePacket response ) : GearmanServerException
response IResponsePacket
Résultat Twingly.Gearman.Exceptions.GearmanServerException

UnpackJobAssignResponse() public static méthode

public static UnpackJobAssignResponse ( IResponsePacket response ) : GearmanJobInfo
response IResponsePacket
Résultat GearmanJobInfo

UnpackJobCreatedResponse() public static méthode

public static UnpackJobCreatedResponse ( IResponsePacket response ) : string
response IResponsePacket
Résultat string

UnpackStatusResponse() public static méthode

public static UnpackStatusResponse ( IResponsePacket response ) : GearmanJobStatus
response IResponsePacket
Résultat GearmanJobStatus

UnpackWorkCompleteResponse() public static méthode

public static UnpackWorkCompleteResponse ( IResponsePacket response ) : GearmanJobData
response IResponsePacket
Résultat GearmanJobData

UnpackWorkDataResponse() public static méthode

public static UnpackWorkDataResponse ( IResponsePacket response ) : GearmanJobData
response IResponsePacket
Résultat GearmanJobData