예제 #1
0
 public static void UnregisterError
     (this IWampError <object> client,
     long requestId,
     WampException exception)
 {
     client.Error(WampMessageType.v2Unregister, requestId, exception);
 }
예제 #2
0
 public static void SubscribeError
     (this IWampError <object> client,
     long requestId,
     WampException exception)
 {
     client.Error(WampMessageType.v2Subscribe, requestId, exception);
 }
예제 #3
0
 public static void PublishError
     (this IWampError <object> client,
     long requestId,
     WampException exception)
 {
     client.Error(WampMessageType.v2Publish, requestId, exception);
 }
예제 #4
0
 public static void CallError <TMessage>
     (this IWampError <TMessage> client,
     long requestId,
     TMessage details,
     string error)
 {
     client.Error(WampMessageType.v2Call, requestId, details, error);
 }
예제 #5
0
 public static void UnsubscribeError <TMessage>
     (this IWampError <TMessage> client,
     long requestId,
     TMessage details,
     string error)
 {
     client.Error(WampMessageType.v2Unsubscribe, requestId, details, error);
 }
예제 #6
0
 public static void Error <TMessage>
     (this IWampError <TMessage> client,
     WampMessageType messageType,
     long requestId,
     TMessage details,
     string error)
 {
     client.Error((int)messageType, requestId, details, error);
 }
예제 #7
0
 public static void SubscribeError <TMessage>
     (this IWampError <TMessage> client,
     long requestId,
     TMessage details,
     string error,
     TMessage[] arguments)
 {
     client.Error(WampMessageType.v2Subscribe, requestId, details, error, arguments);
 }
예제 #8
0
 public static void InvocationError <TMessage>
     (this IWampError <TMessage> client,
     long requestId,
     TMessage details,
     string error,
     TMessage[] arguments)
 {
     client.Error(WampMessageType.v2Invocation, requestId, details, error, arguments);
 }
예제 #9
0
 public static void PublishError <TMessage>
     (this IWampError <TMessage> client,
     long requestId,
     TMessage details,
     string error,
     TMessage[] arguments,
     TMessage argumentsKeywords)
 {
     client.Error(WampMessageType.v2Publish, requestId, details, error, arguments, argumentsKeywords);
 }
예제 #10
0
 public static void Error <TMessage>
     (this IWampError <TMessage> client,
     WampMessageType messageType,
     long requestId,
     TMessage details,
     string error,
     TMessage[] arguments,
     TMessage argumentsKeywords)
 {
     client.Error((int)messageType, requestId, details, error, arguments, argumentsKeywords);
 }
예제 #11
0
 public void Error(object details, string errorUri)
 {
     mCallback.Error(mMessageType, mRequestId, details, errorUri);
 }