KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > core > event > TCConnectionErrorEvent


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.net.core.event;
5
6 import com.tc.net.protocol.TCNetworkMessage;
7
8 /**
9  * A special flavor of TCConnectionEvent indicating an error on a specific connection
10  *
11  * @author teck
12  */

13 public interface TCConnectionErrorEvent extends TCConnectionEvent {
14
15   /**
16    * The exception thrown by an IO operation on this connection
17    */

18   public Exception JavaDoc getException();
19
20   /**
21    * If relevant, the message instance that was being used for the IO operation. Can be null
22    */

23   public TCNetworkMessage getMessageContext();
24 }
Popular Tags