Shadow Network Framework
0.0.1-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, RequestResponseCB 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, RequestResponseCB 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, RequestResponseCB 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". | |
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
|
inline |
|
inline |
|
inline |
Constructor for a new Request Instance with a UID Generated with generateUID
|
inline |
Constructor for a new Request Instance with a UID Generated with generateUID and without a Callback.
|
inline |
Constructor for a new Request Instance with a UID Generated with generateUID and without any Arguments.
|
inline |
Constructor for a new Request Instance with a UID Generated with generateUID and without any Arguments or a Callback.
|
inlinestatic |
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".
|
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.