Shadow Network Framework
0.0.2-alpha
.NET Client Library for Shadow Network Framework
|
"Request" Members are the object that are sent through SNF.Client.Connection More...
Classes | |
class | Handler |
This Class where each instance Handles the created Requests and sends them through the Connection it was Initialized with. More... | |
Public Member Functions | |
Request (byte[] UID, OPCode OPCODE, byte[][] Args, RequestCB OnResponse) | |
Constructor for a new Request Instance. | |
Request (byte[] UID, OPCode OPCODE, byte[][] Args) | |
Constructor for a new Request Instance without a CallBack. | |
Request (OPCode OPCODE, byte[][] Args, RequestCB OnResponse) | |
Constructor for a new Request Instance with a UID Generated with generateUID | |
Request (OPCode OPCODE, byte[][] Args) | |
Constructor for a new Request Instance with a UID Generated with generateUID and without a Callback. | |
Request (OPCode OPCODE, RequestCB OnResponse) | |
Constructor for a new Request Instance with a UID Generated with generateUID and without any Arguments. | |
Request (OPCode OPCODE) | |
Constructor for a new Request Instance with a UID Generated with generateUID and without any Arguments or a Callback. | |
byte[] | FirstArg () |
Gets the First Argument of a Request. | |
byte[] | LastArg () |
Gets the Last Argument of a Request. | |
byte[] | Arg (int Index) |
Get the indexed Argument. | |
Static Public Member Functions | |
static byte[] | generateUID () |
Generates a new UID for Each Request. | |
Properties | |
static int | _UID_LENGTH [get] |
The length of the UID of each Request "Request". | |
static byte[] | _UID_SERVER_RQST [get] |
Saves the default UID for a Server Request. | |
byte[] | UID [get] |
Used to get the UID of the Request. | |
OPCode | OPCode [get] |
Used to get the OPCode of the the Request. | |
byte[][] | Args [get] |
Used to get the Arguments that would be sent with the Request. | |
bool | Awaitsresponse [get] |
Used to get if the request await a response. | |
"Request" Members are the object that are sent through SNF.Client.Connection
SNFClient.Request.Request | ( | byte[] | UID, |
OPCode | OPCODE, | ||
byte | Args[][], | ||
RequestCB | OnResponse ) |
SNFClient.Request.Request | ( | byte[] | UID, |
OPCode | OPCODE, | ||
byte | Args[][] ) |
SNFClient.Request.Request | ( | OPCode | OPCODE, |
byte | Args[][], | ||
RequestCB | OnResponse ) |
Constructor for a new Request Instance with a UID Generated with generateUID
SNFClient.Request.Request | ( | OPCode | OPCODE, |
byte | Args[][] ) |
Constructor for a new Request Instance with a UID Generated with generateUID and without a Callback.
SNFClient.Request.Request | ( | OPCode | OPCODE, |
RequestCB | OnResponse ) |
Constructor for a new Request Instance with a UID Generated with generateUID and without any Arguments.
SNFClient.Request.Request | ( | OPCode | OPCODE | ) |
Constructor for a new Request Instance with a UID Generated with generateUID and without any Arguments or a Callback.
|
static |
Generates a new UID for Each Request.
byte[] SNFClient.Request.FirstArg | ( | ) |
Gets the First Argument of a Request.
null
if instance has no Arguments byte[] SNFClient.Request.LastArg | ( | ) |
Gets the Last Argument of a Request.
null
if instance has no Arguments byte[] SNFClient.Request.Arg | ( | int | Index | ) |
Get the indexed Argument.
Index | Index of the aregument |
|
staticget |
The length of the UID of each Request "Request".
|
staticget |
Saves the default UID for a Server Request.
|
get |
Used to get the UID of the Request.
|
get |
Used to get the Arguments that would be sent with the Request.
|
get |
Used to get if the request await a response.