Example #1
0
 public void Abort(AAbort aa)
 {
     NDC.Push(name);
     try
     {
         fsm.Write(aa);
     }
     finally
     {
         NDC.Pop();
     }
 }
Example #2
0
 internal virtual void Write(AAbort abort)
 {
     try
     {
         abort.WriteTo(m_fsm.stream);
     }
     catch (IOException e)
     {
         m_fsm.ChangeState(m_fsm.STA1);
         throw e;
     }
     m_fsm.ChangeState(m_fsm.STA13);
 }
Example #3
0
 internal override void Write(AAbort abort)
 {
 }
Example #4
0
 public void Write(AAbort abort)
 {
     FireWrite(abort);
     try
     {
         lock( stream )
         {
             state.Write(abort);
         }
     }
     catch (IOException ioe)
     {
         if (assocListener != null)
             assocListener.Error(assoc, ioe);
         throw ioe;
     }
 }
Example #5
0
 internal override void Write(AAbort abort)
 {
     m_fsm.ChangeState(m_fsm.STA1);
 }
Example #6
0
 private void Abort(String msg)
 {
     AAbort aa = new AAbort(AAbort.SERVICE_USER, 0);
     fsm.Write(aa);
     throw new PduException(msg, aa);
 }
Example #7
0
 /// <summary> 
 /// Constructs a new throwable with the specified detail message and
 /// cause and corresponding A-Abort Pdu.
 /// </summary>
 /// <param name="msg">the detail message.
 /// </param>
 /// <param name="cause">the cause.
 /// </param>
 /// <param name="abort">corresponding A-Abort Pdu.
 /// 
 /// </param>
 //UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"'
 public PduException(String msg, Exception cause, AAbort abort)
     : base(msg, cause)
 {
     this.abort = abort;
 }
Example #8
0
 /// <summary> 
 /// Constructs an instance of <code>PduException</code> with the
 /// specified detail message and corresponding A-Abort Pdu.
 /// </summary>
 /// <param name="msg">
 /// the detail message.
 /// </param>
 /// <param name="abort">
 /// corresponding A-Abort Pdu.
 /// </param>
 public PduException(String msg, AAbort abort)
     : base(msg)
 {
     this.abort = abort;
 }