java.net
Class SocketImpl

java.lang.Object
  extended by java.net.SocketImpl
All Implemented Interfaces:
SocketOptions

public abstract class SocketImpl
extends Object
implements SocketOptions


Field Summary
protected  InetAddress address
           
protected  FileDescriptor fd
           
protected  int localport
           
protected  int port
           
 
Fields inherited from interface java.net.SocketOptions
IP_MULTICAST_IF, SO_BINDADDR, SO_KEEPALIVE, SO_LINGER, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY
 
Constructor Summary
SocketImpl()
           
 
Method Summary
protected abstract  void accept(SocketImpl var0)
           
protected abstract  int available()
           
protected abstract  void bind(InetAddress var0, int var1)
           
protected abstract  void close()
           
protected abstract  void connect(InetAddress var0, int var1)
           
protected abstract  void connect(String var0, int var1)
           
protected abstract  void create(boolean var0)
           
protected  FileDescriptor getFileDescriptor()
           
protected  InetAddress getInetAddress()
           
protected abstract  InputStream getInputStream()
           
protected  int getLocalPort()
           
abstract  Object getOption(int var0)
           
protected abstract  OutputStream getOutputStream()
           
protected  int getPort()
           
protected abstract  void listen(int var0)
           
abstract  void setOption(int var0, Object var1)
           
protected  void shutdownInput()
           
protected  void shutdownOutput()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

address

protected InetAddress address

port

protected int port

fd

protected FileDescriptor fd

localport

protected int localport
Constructor Detail

SocketImpl

public SocketImpl()
Method Detail

accept

protected abstract void accept(SocketImpl var0)
                        throws IOException
Throws:
IOException

available

protected abstract int available()
                          throws IOException
Throws:
IOException

bind

protected abstract void bind(InetAddress var0,
                             int var1)
                      throws IOException
Throws:
IOException

close

protected abstract void close()
                       throws IOException
Throws:
IOException

connect

protected abstract void connect(String var0,
                                int var1)
                         throws IOException
Throws:
IOException

connect

protected abstract void connect(InetAddress var0,
                                int var1)
                         throws IOException
Throws:
IOException

create

protected abstract void create(boolean var0)
                        throws IOException
Throws:
IOException

getFileDescriptor

protected FileDescriptor getFileDescriptor()

getInetAddress

protected InetAddress getInetAddress()

getInputStream

protected abstract InputStream getInputStream()
                                       throws IOException
Throws:
IOException

getLocalPort

protected int getLocalPort()

getOption

public abstract Object getOption(int var0)
                          throws SocketException
Specified by:
getOption in interface SocketOptions
Throws:
SocketException

getOutputStream

protected abstract OutputStream getOutputStream()
                                         throws IOException
Throws:
IOException

getPort

protected int getPort()

listen

protected abstract void listen(int var0)
                        throws IOException
Throws:
IOException

setOption

public abstract void setOption(int var0,
                               Object var1)
                        throws SocketException
Specified by:
setOption in interface SocketOptions
Throws:
SocketException

toString

public String toString()
Overrides:
toString in class Object

shutdownInput

protected void shutdownInput()
                      throws IOException
Throws:
IOException

shutdownOutput

protected void shutdownOutput()
                       throws IOException
Throws:
IOException


Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.