Пример #1
0
 public void ClearInvocationHistory()
 {
     m_invokedOnOutPath   = false;
     m_inPathResult       = InPathResult.NotCalled;
     m_lastContextElement = null;
     m_taggedComponent    = null;
 }
Пример #2
0
 public void ClearInvocationHistory()
 {
     m_invokedOnOutPath      = false;
     m_inPathResult          = InPathResult.NotCalled;
     m_throwExceptionOutPath = null;
     m_throwExceptionInPath  = null;
 }
Пример #3
0
 public void receive_other(ClientRequestInfo ri)
 {
     m_inPathResult = InPathResult.Other;
     if (m_throwExceptionInPath != null)
     {
         throw m_throwExceptionInPath;
     }
 }
Пример #4
0
 public void receive_reply(ClientRequestInfo ri)
 {
     m_inPathResult = InPathResult.Reply;
     if (m_throwExceptionInPath != null)
     {
         throw m_throwExceptionInPath;
     }
 }
Пример #5
0
 public void receive_other(ClientRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_inPathResult = InPathResult.Other;
 }
Пример #6
0
 public void receive_exception(ClientRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_inPathResult = InPathResult.Exception;
 }
Пример #7
0
 public void receive_reply(ClientRequestInfo ri)
 {
     if (MustNonInterceptCall(ri))
     {
         return;
     }
     m_inPathResult = InPathResult.Reply;
     try {
         ServiceContext context = ri.get_reply_service_context(1000);
         m_lastContextElement = (TestServiceContext)m_codec.decode(context.context_data);
     } catch (BAD_PARAM) {
         m_lastContextElement = null; // not found
     }
 }
Пример #8
0
 public void ClearInvocationHistory() {
     m_invokedOnOutPath = false;
     m_inPathResult = InPathResult.NotCalled;
     m_throwExceptionOutPath = null;
     m_throwExceptionInPath = null;
 }
Пример #9
0
 public void receive_other(ClientRequestInfo ri) {
     m_inPathResult = InPathResult.Other;
     if (m_throwExceptionInPath != null) {
         throw m_throwExceptionInPath;
     }
 }
Пример #10
0
 public void receive_reply(ClientRequestInfo ri) {
     m_inPathResult = InPathResult.Reply;
     if (m_throwExceptionInPath != null) {
         throw m_throwExceptionInPath;
     }
 }
Пример #11
0
 public void receive_other(ClientRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_inPathResult = InPathResult.Other;
 }
Пример #12
0
 public void receive_exception(ClientRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_inPathResult = InPathResult.Exception;
 }
Пример #13
0
 public void receive_reply(ClientRequestInfo ri) {
     if (MustNonInterceptCall(ri)) {
         return;
     }
     m_inPathResult = InPathResult.Reply;
     try {
         ServiceContext context = ri.get_reply_service_context(1000);
         m_lastContextElement = (TestServiceContext)m_codec.decode(context.context_data);    
     } catch (BAD_PARAM) {
         m_lastContextElement = null; // not found
     }
 }
Пример #14
0
 public void ClearInvocationHistory() {
     m_invokedOnOutPath = false;
     m_inPathResult = InPathResult.NotCalled;
     m_lastContextElement = null;
     m_taggedComponent = null;
 }