public static void UnregisterError
     (this IWampError <object> client,
     long requestId,
     WampException exception)
 {
     client.Error(WampMessageType.v2Unregister, requestId, exception);
 }
 public static void SubscribeError
     (this IWampError <object> client,
     long requestId,
     WampException exception)
 {
     client.Error(WampMessageType.v2Subscribe, requestId, exception);
 }
 public static void PublishError
     (this IWampError <object> client,
     long requestId,
     WampException exception)
 {
     client.Error(WampMessageType.v2Publish, requestId, exception);
 }
 public static void CallError <TMessage>
     (this IWampError <TMessage> client,
     long requestId,
     TMessage details,
     string error)
 {
     client.Error(WampMessageType.v2Call, requestId, details, error);
 }
 public static void UnsubscribeError <TMessage>
     (this IWampError <TMessage> client,
     long requestId,
     TMessage details,
     string error)
 {
     client.Error(WampMessageType.v2Unsubscribe, requestId, details, error);
 }
 public static void Error <TMessage>
     (this IWampError <TMessage> client,
     WampMessageType messageType,
     long requestId,
     TMessage details,
     string error)
 {
     client.Error((int)messageType, requestId, details, error);
 }
 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);
 }
 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);
 }
 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);
 }