Main Page | Packages | Class Hierarchy | Compound List | File List | Compound Members

nbio.NonblockingSocketImpl Class Reference

List of all members.

Public Member Functions

void setOption (int optID, Object value) throws SocketException
Object getOption (int optID) throws SocketException
String toString ()

Protected Member Functions

void create (boolean stream) throws IOException
void connect (String host, int port) throws IOException
void connect (InetAddress address, int port) throws IOException
boolean connectDone () throws SocketException
void bind (InetAddress host, int port) throws IOException
void listen (int backlog) throws IOException
void accept (NonblockingSocketImpl s) throws IOException
int nbAccept (NonblockingSocketImpl s) throws IOException
InputStream getInputStream () throws IOException
OutputStream getOutputStream () throws IOException
int available () throws IOException
void close () throws IOException
void finalize () throws IOException
InetAddress getInetAddress ()
int getPort ()
int getLocalPort ()
int send (DatagramPacket p) throws IOException
int receive (DatagramPacket p) throws IOException
void disconnect () throws IOException
NBIOFileDescriptor getFileDescriptor ()
void joinGroup (InetAddress address) throws IOException
void leaveGroup (InetAddress address) throws IOException
void setTimeToLive (int ttl) throws IOException
int getTimeToLive () throws IOException
void setInterface (InetAddress addr) throws IOException
void seeLocalMessages (boolean state) throws IOException

Package Functions

 NonblockingSocketImpl ()
 NonblockingSocketImpl (InetAddress address)

Private Member Functions

native void nbSocketCreate (boolean stream)
native void nbSocketConnect (InetAddress address, int port) throws IOException
native boolean nbSocketConnectDone () throws SocketException
native void nbSocketBind (InetAddress address, int port) throws IOException
native void nbSocketListen (int count) throws IOException
native int nbSocketAccept (NonblockingSocketImpl s, boolean block) throws IOException
native int nbSocketAvailable () throws IOException
native void nbSocketClose () throws IOException
native int nbSendTo (DatagramPacket p) throws IOException
native int nbReceive (DatagramPacket p) throws IOException
native void nbDisconnect () throws SocketException
native void nbJoinGroup (InetAddress address) throws IOException
native void nbLeaveGroup (InetAddress address) throws IOException
native void nbSetTimeToLive (int ttl) throws IOException
native int nbGetTimeToLive () throws IOException
native void nbSetInterface (InetAddress address) throws IOException
native void nbSeeLocalMessages (boolean state) throws IOException

Private Attributes

NBIOFileDescriptor fd
InetAddress address
int port
int localport

Constructor & Destructor Documentation

nbio.NonblockingSocketImpl.NonblockingSocketImpl  )  [package]
 

nbio.NonblockingSocketImpl.NonblockingSocketImpl InetAddress  address  )  [package]
 


Member Function Documentation

void nbio.NonblockingSocketImpl.accept NonblockingSocketImpl  s  )  throws IOException [protected]
 

int nbio.NonblockingSocketImpl.available  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.bind InetAddress  host,
int  port
throws IOException [protected]
 

void nbio.NonblockingSocketImpl.close  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.connect InetAddress  address,
int  port
throws IOException [protected]
 

void nbio.NonblockingSocketImpl.connect String  host,
int  port
throws IOException [protected]
 

boolean nbio.NonblockingSocketImpl.connectDone  )  throws SocketException [protected]
 

void nbio.NonblockingSocketImpl.create boolean  stream  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.disconnect  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.finalize  )  throws IOException [protected]
 

NBIOFileDescriptor nbio.NonblockingSocketImpl.getFileDescriptor  )  [protected]
 

InetAddress nbio.NonblockingSocketImpl.getInetAddress  )  [protected]
 

InputStream nbio.NonblockingSocketImpl.getInputStream  )  throws IOException [protected]
 

int nbio.NonblockingSocketImpl.getLocalPort  )  [protected]
 

Object nbio.NonblockingSocketImpl.getOption int  optID  )  throws SocketException
 

OutputStream nbio.NonblockingSocketImpl.getOutputStream  )  throws IOException [protected]
 

int nbio.NonblockingSocketImpl.getPort  )  [protected]
 

int nbio.NonblockingSocketImpl.getTimeToLive  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.joinGroup InetAddress  address  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.leaveGroup InetAddress  address  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.listen int  backlog  )  throws IOException [protected]
 

int nbio.NonblockingSocketImpl.nbAccept NonblockingSocketImpl  s  )  throws IOException [protected]
 

native void nbio.NonblockingSocketImpl.nbDisconnect  )  throws SocketException [private]
 

native int nbio.NonblockingSocketImpl.nbGetTimeToLive  )  throws IOException [private]
 

native void nbio.NonblockingSocketImpl.nbJoinGroup InetAddress  address  )  throws IOException [private]
 

native void nbio.NonblockingSocketImpl.nbLeaveGroup InetAddress  address  )  throws IOException [private]
 

native int nbio.NonblockingSocketImpl.nbReceive DatagramPacket  p  )  throws IOException [private]
 

native void nbio.NonblockingSocketImpl.nbSeeLocalMessages boolean  state  )  throws IOException [private]
 

native int nbio.NonblockingSocketImpl.nbSendTo DatagramPacket  p  )  throws IOException [private]
 

native void nbio.NonblockingSocketImpl.nbSetInterface InetAddress  address  )  throws IOException [private]
 

native void nbio.NonblockingSocketImpl.nbSetTimeToLive int  ttl  )  throws IOException [private]
 

native int nbio.NonblockingSocketImpl.nbSocketAccept NonblockingSocketImpl  s,
boolean  block
throws IOException [private]
 

native int nbio.NonblockingSocketImpl.nbSocketAvailable  )  throws IOException [private]
 

native void nbio.NonblockingSocketImpl.nbSocketBind InetAddress  address,
int  port
throws IOException [private]
 

native void nbio.NonblockingSocketImpl.nbSocketClose  )  throws IOException [private]
 

native void nbio.NonblockingSocketImpl.nbSocketConnect InetAddress  address,
int  port
throws IOException [private]
 

native boolean nbio.NonblockingSocketImpl.nbSocketConnectDone  )  throws SocketException [private]
 

native void nbio.NonblockingSocketImpl.nbSocketCreate boolean  stream  )  [private]
 

native void nbio.NonblockingSocketImpl.nbSocketListen int  count  )  throws IOException [private]
 

int nbio.NonblockingSocketImpl.receive DatagramPacket  p  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.seeLocalMessages boolean  state  )  throws IOException [protected]
 

int nbio.NonblockingSocketImpl.send DatagramPacket  p  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.setInterface InetAddress  addr  )  throws IOException [protected]
 

void nbio.NonblockingSocketImpl.setOption int  optID,
Object  value
throws SocketException
 

void nbio.NonblockingSocketImpl.setTimeToLive int  ttl  )  throws IOException [protected]
 

String nbio.NonblockingSocketImpl.toString  ) 
 


Member Data Documentation

InetAddress nbio.NonblockingSocketImpl.address [private]
 

NBIOFileDescriptor nbio.NonblockingSocketImpl.fd [private]
 

int nbio.NonblockingSocketImpl.localport [private]
 

int nbio.NonblockingSocketImpl.port [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Jul 18 21:37:52 2003 for libnbio2-java by doxygen 1.3.2