コード例 #1
0
ファイル: Builder.cs プロジェクト: Nanako-Kbs/castlezmq
		public static byte[] SerializeResponse(ResponseMessage response)
		{
			return Serialization.Serialize(response);
		}
コード例 #2
0
		public override byte[] SerializeResponse(ResponseMessage response)
		{
			return Builder.SerializeResponse(response);
		}
コード例 #3
0
		public override object DeserializeResponseValue(ResponseMessage response, Type retType)
		{
			return Serialization.DeserializeResponseValue(response, retType);
		}
コード例 #4
0
		private static void ThrowWithExceptionInfoData(ResponseMessage response)
		{
			var msg = "Remote server or invoker threw " + response.ExceptionInfo.Typename + " with message " +
			          response.ExceptionInfo.Message;
			throw new Exception(msg);
		}