Searched defs:receive (Results 1 - 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
H A DPipedInputStream.java207 protected synchronized void receive(int b) throws IOException { method in class:PipedInputStream
232 synchronized void receive(byte b[], int off, int len) throws IOException { method in class:PipedInputStream
H A DPipedReader.java174 synchronized void receive(int c) throws IOException { method in class:PipedReader
215 synchronized void receive(char c[], int off, int len) throws IOException { method in class:PipedReader
217 receive(c[off++]);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DDatagramSocketImplTest.java121 protected void receive(DatagramPacket pack) throws IOException { method in class:MockDatagramSocketImpl
H A DDatagramSocketTest.java64 serverSocket.receive(rdp);
153 DatagramPacket receive = new DatagramPacket(new byte[20], 20);
155 ds.receive(receive);
158 assertEquals(10, receive.getLength());
159 assertEquals(localHost, receive.getAddress());
189 final DatagramPacket receive = new DatagramPacket(new byte[20], 20);
193 ds.receive(receive);
196 assertEquals(sendBytes.length, receive
429 protected void receive(DatagramPacket arg0) throws IOException { method in class:DatagramSocketTest.TestDatagramSocketImpl
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DMockDatagramChannel.java59 public SocketAddress receive(ByteBuffer arg0) throws IOException { method in class:MockDatagramChannel
/libcore/luni/src/test/java/libcore/java/net/
H A DOldDatagramSocketImplFactoryTest.java183 protected void receive(DatagramPacket arg0) throws IOException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
/libcore/ojluni/src/main/java/java/net/
H A DDatagramSocketImpl.java87 * send or receive may throw a PortUnreachableException.
118 * but not consumed, so that a subsequent peekData/receive operation
138 protected abstract void receive(DatagramPacket p) throws IOException; method in class:DatagramSocketImpl
201 * @param netIf specifies the local interface to receive multicast
H A DAbstractPlainDatagramSocketImpl.java49 /* timeout value for receive() */
145 protected synchronized void receive(DatagramPacket p) method in class:AbstractPlainDatagramSocketImpl
193 * @param netIf specifies the local interface to receive multicast
H A DDatagramSocket.java50 * to allow the transmission of broadcast datagrams. In order to receive
64 * Both cases will create a DatagramSocket able to receive broadcasts on
416 * send or receive may throw a PortUnreachableException. Note, there is no
432 * <p> When a socket is connected, {@link #receive receive} and
729 public synchronized void receive(DatagramPacket p) throws IOException { method in class:DatagramSocket
767 getImpl().receive(tmp);
803 getImpl().receive(tmp);
810 // connected then receive the packet
811 getImpl().receive(
[all...]
/libcore/ojluni/src/main/java/java/nio/channels/
H A DDatagramChannel.java44 * send} and {@link #receive receive} methods to be used. A datagram channel may be
47 * every send and receive operation. A datagram channel must be connected in
71 * <td> The size of the socket receive buffer </td>
300 * <p> The channel's socket is configured so that it can receive datagrams
350 * java.net.DatagramSocket#receive receive} method of the {@link
395 public abstract SocketAddress receive(ByteBuffer dst) throws IOException; method in class:DatagramChannel
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DPipedInputStreamTest.java250 * java.io.PipedInputStream#receive(int)
311 public void receive(int oneByte) throws IOException { method in class:PipedInputStreamTest.PipedInputStreamWithPublicReceive
312 super.receive(oneByte);
325 pis.receive(1);
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DDatagramSocketAdaptor.java174 private SocketAddress receive(ByteBuffer bb) throws IOException { method in class:DatagramSocketAdaptor
176 return dc.receive(bb);
186 if ((sender = dc.receive(bb)) != null)
197 if ((sender = dc.receive(bb)) != null)
216 public void receive(DatagramPacket p) throws IOException { method in class:DatagramSocketAdaptor
225 SocketAddress sender = receive(bb);
324 throw new IllegalArgumentException("Invalid receive size");
397 protected void receive(DatagramPacket p) throws IOException {}
H A DDatagramChannelImpl.java334 public SocketAddress receive(ByteBuffer dst) throws IOException { method in class:DatagramChannelImpl
345 // Socket was not bound before attempting receive
358 n = receive(fd, dst);
366 n = receive(fd, bb);
397 private int receive(FileDescriptor fd, ByteBuffer dst) method in class:DatagramChannelImpl

Completed in 385 milliseconds