C# Class DNS.Protocol.Response

Inheritance: IResponse
显示文件 Open project: greggman/hft-unity-gamepad Class Usage Examples

Public Methods

Method Description
FromArray ( byte message ) : Response
FromRequest ( IRequest request ) : Response
Response ( ) : System
Response ( Header header, IList questions, IList answers, IList authority, IList additional ) : System
Response ( IResponse response ) : System
ToArray ( ) : byte[]
ToString ( ) : string

Private Methods

Method Description
UpdateHeader ( ) : void

Method Details

FromArray() public static method

public static FromArray ( byte message ) : Response
message byte
return Response

FromRequest() public static method

public static FromRequest ( IRequest request ) : Response
request IRequest
return Response

Response() public method

public Response ( ) : System
return System

Response() public method

public Response ( Header header, IList questions, IList answers, IList authority, IList additional ) : System
header Header
questions IList
answers IList
authority IList
additional IList
return System

Response() public method

public Response ( IResponse response ) : System
response IResponse
return System

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string