/[classpath]/classpath/gnu/CORBA/GIOP/CloseMessage.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/GIOP/CloseMessage.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mark, Sat Jul 2 20:32:09 2005 UTC revision 1.3 by audriusa, Tue Oct 4 17:58:14 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package gnu.CORBA.GIOP;  package gnu.CORBA.GIOP;
40    
41  import gnu.CORBA.IOR;  import gnu.CORBA.Minor;
42    
43  import org.omg.CORBA.MARSHAL;  import org.omg.CORBA.MARSHAL;
44    
45  import java.io.IOException;  import java.io.IOException;
46  import java.io.OutputStream;  import java.io.OutputStream;
47    
 import java.net.Socket;  
   
48  /**  /**
49   * The explicit command to close the connection.   * The explicit command to close the connection.
50   *   *
# Line 60  import java.net.Socket; Line 58  import java.net.Socket;
58  public class CloseMessage  public class CloseMessage
59    extends MessageHeader    extends MessageHeader
60  {  {
61      /**
62       * Use serialVersionUID for interoperability.
63       */
64      private static final long serialVersionUID = 1;
65      
66    /**    /**
67     * The singleton close message is typically enough, despite new     * The singleton close message is typically enough, despite new
68     * instances may be instantiated if the specific version field     * instances may be instantiated if the specific version field
# Line 95  public class CloseMessage Line 98  public class CloseMessage
98      catch (IOException ex)      catch (IOException ex)
99        {        {
100          MARSHAL m = new MARSHAL("Unable to flush the stream");          MARSHAL m = new MARSHAL("Unable to flush the stream");
101            m.minor = Minor.Header;
102          m.initCause(ex);          m.initCause(ex);
103          throw m;          throw m;
104        }        }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26