public FunctionHandler(byte[] commandHash, string command, FunctionHandlerType type, VoidInVoidOutHandlerDelegate handler) { Command = command; CommandHash = commandHash; HandlerType = type; VoidInVoidOutHandler = handler; ExpectResponse = false; }
//public T Handler; public FunctionHandler(byte[] commandHash, string command, FunctionHandlerType type, ObjInObjOutHandlerDelegate handler) { Command = command; CommandHash = commandHash; HandlerType = type; ObjInObjOutHandler = handler; ExpectResponse = true; }