/[classpath]/classpath/java/net/PlainSocketImpl.java
ViewVC logotype

Diff of /classpath/java/net/PlainSocketImpl.java

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

revision 1.13 by mkoch, Mon Jun 23 12:49:44 2003 UTC revision 1.14 by rupp, Wed Jul 30 10:09:46 2003 UTC
# Line 168  class PlainSocketImpl extends SocketImpl Line 168  class PlainSocketImpl extends SocketImpl
168      throws IOException;      throws IOException;
169    
170    protected void connect(SocketAddress address, int timeout)    protected void connect(SocketAddress address, int timeout)
171        throws IOException    
172    {    {
173      throw new InternalError ("PlainSocketImpl::connect not implemented");      // NYI: this method need to support timeout
174        if (address instanceof InetSocketAddress)
175          {
176            connect(((InetSocketAddress) address).getAddress(),
177                    ((InetSocketAddress) address).getPort()    );
178          }
179        else
180          {
181            throw new InternalError("PlainSocketImpl:connect not implemented for anything other than InetSocketAddress");
182          }
183          //     throw new InternalError ("PlainSocketImpl::connect not implemented");
184    }    }
185    
186    /**    /**

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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