예제 #1
0
 public void ClearInvocationHistory()
 {
     m_invokedOnInPathReceiveSvcContext = false;
     m_invokedOnInPathReceive           = false;
     m_outPathResult   = OutPathResult.NotCalled;
     m_contextReceived = null;
 }
예제 #2
0
 public void send_other(ServerRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_outPathResult = OutPathResult.Other;
 }
예제 #3
0
 public void send_exception(ServerRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_outPathResult = OutPathResult.Exception;
 }
예제 #4
0
 public void ClearInvocationHistory()
 {
     m_invokedOnInPathReceiveSvcContext = false;
     m_invokedOnInPathReceive           = false;
     m_outPathResult                         = OutPathResult.NotCalled;
     m_throwExceptionOutPath                 = null;
     m_throwExceptionInPathReceive           = null;
     m_throwExceptionInPathReceiveSvcContext = null;
 }
예제 #5
0
 public void send_other(ServerRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_outPathResult = OutPathResult.Other;
     if (m_throwExceptionOutPath != null)
     {
         Exception toThrow = m_throwExceptionOutPath;
         m_throwExceptionOutPath = null; // clear, for next call
         throw toThrow;
     }
 }
예제 #6
0
 public void send_reply(ServerRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_outPathResult = OutPathResult.Reply;
     if (m_contextReceived != null)
     {
         TestServiceContext resultContextEntry =
             new TestServiceContext(((TestServiceContext)m_contextReceived).TestEntry);
         ServiceContext context = new ServiceContext(1000, m_codec.encode(resultContextEntry));
         ri.add_reply_service_context(context, true);
     }
 }
예제 #7
0
 public void send_other(ServerRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_outPathResult = OutPathResult.Other;
 }
예제 #8
0
 public void send_exception(ServerRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_outPathResult = OutPathResult.Exception;
 }
예제 #9
0
 public void send_reply(ServerRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_outPathResult = OutPathResult.Reply;
     if (m_contextReceived != null) {
         TestServiceContext resultContextEntry = 
             new TestServiceContext(((TestServiceContext)m_contextReceived).TestEntry);
         ServiceContext context = new ServiceContext(1000, m_codec.encode(resultContextEntry));
         ri.add_reply_service_context(context, true);
     }
 }
예제 #10
0
 public void ClearInvocationHistory() {
       m_invokedOnInPathReceiveSvcContext = false;
       m_invokedOnInPathReceive = false;
       m_outPathResult = OutPathResult.NotCalled;
       m_contextReceived = null;
 }
예제 #11
0
 public void send_other(ServerRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_outPathResult = OutPathResult.Other;
     if (m_throwExceptionOutPath != null) {
         Exception toThrow = m_throwExceptionOutPath;
         m_throwExceptionOutPath = null; // clear, for next call
         throw toThrow;
     }
 }
예제 #12
0
 public void ClearInvocationHistory() {
       m_invokedOnInPathReceiveSvcContext = false;
       m_invokedOnInPathReceive = false;
       m_outPathResult = OutPathResult.NotCalled;
       m_throwExceptionOutPath = null;
       m_throwExceptionInPathReceive = null;
       m_throwExceptionInPathReceiveSvcContext = null;
 }