FileDocCategorySizeDatePackage
INetworkSystem.javaAPI DocAndroid 1.5 API9081Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.platform

INetworkSystem

public interface INetworkSystem

Fields Summary
public final int
SOCKET_CONNECT_STEP_START
public final int
SOCKET_CONNECT_STEP_CHECK
Constructors Summary
Methods Summary
public voidaccept(java.io.FileDescriptor fdServer, java.net.SocketImpl newSocket, java.io.FileDescriptor fdnewSocket, int timeout)

public intavailableStream(java.io.FileDescriptor aFD)

public voidbind(java.io.FileDescriptor aFD, int port, java.net.InetAddress inetAddress)

public booleanbind2(java.io.FileDescriptor aFD, int port, boolean bindToDevice, java.net.InetAddress inetAddress)

public intconnect(java.io.FileDescriptor aFD, int trafficClass, java.net.InetAddress inetAddress, int port)

public voidconnectDatagram(java.io.FileDescriptor aFD, int port, int trafficClass, java.net.InetAddress inetAddress)

public voidconnectStreamWithTimeoutSocket(java.io.FileDescriptor aFD, int aport, int timeout, int trafficClass, java.net.InetAddress inetAddress)

public intconnectWithTimeout(java.io.FileDescriptor aFD, int timeout, int trafficClass, java.net.InetAddress hostname, int port, int step, byte[] context)

public voidcreateDatagramSocket(java.io.FileDescriptor aFD, boolean preferIPv4Stack)

public voidcreateMulticastSocket(java.io.FileDescriptor aFD, boolean preferIPv4Stack)

public voidcreateServerStreamSocket(java.io.FileDescriptor aFD, boolean preferIPv4Stack)

public voidcreateSocket(java.io.FileDescriptor fd, boolean preferIPv4Stack)

public voiddisconnectDatagram(java.io.FileDescriptor aFD)

public java.net.InetAddressgetHostByAddr(byte[] addr)

public java.net.InetAddressgetHostByName(java.lang.String addr, boolean preferIPv6Addresses)

public intgetSocketFlags()

public java.net.InetAddressgetSocketLocalAddress(java.io.FileDescriptor aFD, boolean preferIPv6Addresses)

public intgetSocketLocalPort(java.io.FileDescriptor aFD, boolean preferIPv6Addresses)

public java.lang.ObjectgetSocketOption(java.io.FileDescriptor aFD, int opt)

public java.nio.channels.ChannelinheritedChannel()

public voidlistenStreamSocket(java.io.FileDescriptor aFD, int backlog)

public voidoneTimeInitialization(boolean jcl_supports_ipv6)

public intpeekDatagram(java.io.FileDescriptor aFD, java.net.InetAddress sender, int receiveTimeout)

public intread(java.io.FileDescriptor aFD, byte[] data, int offset, int count, int timeout)

public intreadDirect(java.io.FileDescriptor aFD, int address, int offset, int count, int timeout)

public intreceiveDatagram(java.io.FileDescriptor aFD, java.net.DatagramPacket packet, byte[] data, int offset, int length, int receiveTimeout, boolean peek)

public intreceiveDatagramDirect(java.io.FileDescriptor aFD, java.net.DatagramPacket packet, int address, int offset, int length, int receiveTimeout, boolean peek)

public intreceiveStream(java.io.FileDescriptor aFD, byte[] data, int offset, int count, int timeout)

public intrecvConnectedDatagram(java.io.FileDescriptor aFD, java.net.DatagramPacket packet, byte[] data, int offset, int length, int receiveTimeout, boolean peek)

public intrecvConnectedDatagramDirect(java.io.FileDescriptor aFD, java.net.DatagramPacket packet, int address, int offset, int length, int receiveTimeout, boolean peek)

public int[]select(java.io.FileDescriptor[] readFDs, java.io.FileDescriptor[] writeFDs, long timeout)

public intsendConnectedDatagram(java.io.FileDescriptor fd, byte[] data, int offset, int length, boolean bindToDevice)

public intsendConnectedDatagramDirect(java.io.FileDescriptor fd, int address, int offset, int length, boolean bindToDevice)

public intsendDatagram(java.io.FileDescriptor fd, byte[] data, int offset, int length, int port, boolean bindToDevice, int trafficClass, java.net.InetAddress inetAddress)

public intsendDatagram2(java.io.FileDescriptor fd, byte[] data, int offset, int length, int port, java.net.InetAddress inetAddress)

public intsendDatagramDirect(java.io.FileDescriptor fd, int address, int offset, int length, int port, boolean bindToDevice, int trafficClass, java.net.InetAddress inetAddress)

public intsendStream(java.io.FileDescriptor fd, byte[] data, int offset, int count)

public voidsendUrgentData(java.io.FileDescriptor fd, byte value)

public voidsetInetAddress(java.net.InetAddress sender, byte[] address)

public voidsetNonBlocking(java.io.FileDescriptor aFD, boolean block)

public voidsetSocketOption(java.io.FileDescriptor aFD, int opt, java.lang.Object optVal)

public voidshutdownInput(java.io.FileDescriptor descriptor)

public voidshutdownOutput(java.io.FileDescriptor descriptor)

public voidsocketClose(java.io.FileDescriptor aFD)

public booleansupportsUrgentData(java.io.FileDescriptor fd)

public intwrite(java.io.FileDescriptor fd, byte[] data, int offset, int count)

public intwriteDirect(java.io.FileDescriptor fd, int address, int offset, int count)