Пример #1
0
 internal void OperationAsynchronousStream(OperationParameter.OperationNode parameter, Func <AutoCSer.Net.TcpServer.ReturnValue <ReturnParameter>, bool> onOperation)
 {
     TcpServer.CallQueue.Add(new ServerCall.OperationAsynchronous(Cache, parameter.Buffer, onOperation));
 }
Пример #2
0
 internal void OperationAsynchronousOnly(OperationParameter.OperationNode parameter)
 {
     Cache.Operation(parameter.Buffer, nullCallbackHandle);
 }
Пример #3
0
 internal void OperationOnly(OperationParameter.OperationNode parameter)
 {
     Cache.Operation(parameter.Buffer);
 }
Пример #4
0
 internal ReturnParameter OperationStream(OperationParameter.OperationNode parameter)
 {
     ValueData.Data returnValue = Cache.Operation(parameter.Buffer);
     returnValue.IsReturnDeSerializeStream = true;
     return(new ReturnParameter(ref returnValue));
 }
Пример #5
0
 internal ReturnParameter Operation(OperationParameter.OperationNode parameter)
 {
     return(new ReturnParameter(Cache.Operation(parameter.Buffer)));
 }
Пример #6
0
 internal void OperationAsynchronousOnly(OperationParameter.OperationNode parameter)
 {
     Cache.Operation(parameter.Buffer, AutoCSer.Net.TcpServer.ServerCallback <ReturnParameter> .Null.Default);
 }
Пример #7
0
 internal void OperationAsynchronousStream(OperationParameter.OperationNode parameter, AutoCSer.Net.TcpServer.ServerCallback <ReturnParameter> onOperation)
 {
     Cache.Operation(parameter.Buffer, onOperation);
     //TcpServer.CallQueue.Add(new ServerCall.OperationAsynchronous(Cache, parameter.Buffer, onOperation));
 }