C# 클래스 Twingly.Gearman.GearmanProtocol

파일 보기 프로젝트 열기: twingly/GearmanSharp

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
GearmanProtocol ( IGearmanConnection connection ) : System

메소드 상세

GearmanProtocol() 보호된 메소드

protected GearmanProtocol ( IGearmanConnection connection ) : System
connection IGearmanConnection
리턴 System

JoinByteArraysForData() 공개 정적인 메소드

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

PackRequest() 공개 정적인 메소드

public static PackRequest ( PacketType packetType ) : RequestPacket
packetType PacketType
리턴 Twingly.Gearman.Packets.RequestPacket

PackRequest() 공개 정적인 메소드

public static PackRequest ( PacketType packetType, string arg1 ) : RequestPacket
packetType PacketType
arg1 string
리턴 Twingly.Gearman.Packets.RequestPacket

PackRequest() 공개 정적인 메소드

public static PackRequest ( PacketType packetType, string arg1, byte arg2 ) : RequestPacket
packetType PacketType
arg1 string
arg2 byte
리턴 Twingly.Gearman.Packets.RequestPacket

PackRequest() 공개 정적인 메소드

public static PackRequest ( PacketType packetType, string arg1, string arg2 ) : RequestPacket
packetType PacketType
arg1 string
arg2 string
리턴 Twingly.Gearman.Packets.RequestPacket

PackRequest() 공개 정적인 메소드

public static PackRequest ( PacketType packetType, string arg1, string arg2, byte arg3 ) : RequestPacket
packetType PacketType
arg1 string
arg2 string
arg3 byte
리턴 Twingly.Gearman.Packets.RequestPacket

PackRequest() 공개 정적인 메소드

public static PackRequest ( PacketType packetType, string arg1, string arg2, string arg3 ) : RequestPacket
packetType PacketType
arg1 string
arg2 string
arg3 string
리턴 Twingly.Gearman.Packets.RequestPacket

UnpackErrorReponse() 공개 정적인 메소드

public static UnpackErrorReponse ( IResponsePacket response ) : GearmanServerException
response IResponsePacket
리턴 Twingly.Gearman.Exceptions.GearmanServerException

UnpackJobAssignResponse() 공개 정적인 메소드

public static UnpackJobAssignResponse ( IResponsePacket response ) : GearmanJobInfo
response IResponsePacket
리턴 GearmanJobInfo

UnpackJobCreatedResponse() 공개 정적인 메소드

public static UnpackJobCreatedResponse ( IResponsePacket response ) : string
response IResponsePacket
리턴 string

UnpackStatusResponse() 공개 정적인 메소드

public static UnpackStatusResponse ( IResponsePacket response ) : GearmanJobStatus
response IResponsePacket
리턴 GearmanJobStatus

UnpackWorkCompleteResponse() 공개 정적인 메소드

public static UnpackWorkCompleteResponse ( IResponsePacket response ) : GearmanJobData
response IResponsePacket
리턴 GearmanJobData

UnpackWorkDataResponse() 공개 정적인 메소드

public static UnpackWorkDataResponse ( IResponsePacket response ) : GearmanJobData
response IResponsePacket
리턴 GearmanJobData