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

/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DMockDatagramChannel.java49 public SocketAddress receive(ByteBuffer arg0) throws IOException { method in class:MockDatagramChannel
/libcore/luni/src/main/java/java/io/
H A DPipedInputStream.java221 * "Pipe broken" will be thrown in receive()
234 // Notify callers of receive()
299 * "Pipe broken" will be thrown in receive()
312 // Notify callers of receive()
377 protected synchronized void receive(int oneByte) throws IOException { method in class:PipedInputStream
H A DPipedReader.java238 * of "Pipe broken" will be thrown in receive()
252 // Notify callers of receive()
326 * If the buffer is full and the thread sending #receive is interrupted, the
336 synchronized void receive(char oneChar) throws IOException { method in class:PipedReader
376 * If the buffer is full and the thread sending #receive is interrupted, the
383 synchronized void receive(char[] chars, int offset, int count) throws IOException { method in class:PipedReader
/libcore/luni/src/main/java/java/nio/channels/
H A DDatagramChannel.java36 * is the reduced effort of security checks during send and receive. When
132 * in order to send and receive datagrams.
158 * This method executes the same security checks as the receive method of
178 public abstract SocketAddress receive(ByteBuffer target) throws IOException; method in class:DatagramChannel
/libcore/luni/src/main/java/java/net/
H A DDatagramSocketImpl.java47 * bound prior to attempting to send or receive data.
117 * a group before being able to receive data. Further, a socket may be a
130 * a group before being able to receive data. Further, a socket may be a
136 * the local network interface which will receive the multicast
194 protected abstract void receive(DatagramPacket pack) throws IOException; method in class:DatagramSocketImpl
260 * {@code peekData()} or {@code receive()} call. This call blocks until
H A DDatagramSocket.java202 * Returns this socket's {@link SocketOptions#SO_RCVBUF receive buffer size}.
218 * Gets the socket {@link SocketOptions#SO_TIMEOUT receive timeout}.
240 public synchronized void receive(DatagramPacket pack) throws IOException { method in class:DatagramSocket
250 impl.receive(pack);
316 * Sets this socket's {@link SocketOptions#SO_SNDBUF receive buffer size}.
328 * This receive timeout defines the period the socket will block waiting to
329 * receive data before throwing an {@code InterruptedIOException}. The value
463 * Future calls to {@link #send} will use this as the default target, and {@link #receive}
496 * Future calls to {@link #send} will use this as the default target, and {@link #receive}
H A DPlainDatagramSocketImpl.java168 public void receive(DatagramPacket pack) throws IOException { method in class:PlainDatagramSocketImpl
/libcore/luni/src/test/java/libcore/java/net/
H A DOldDatagramSocketImplFactoryTest.java183 protected void receive(DatagramPacket arg0) throws IOException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
H A DOldDatagramSocketTest.java72 ms.receive(rdp);
298 DatagramPacket receive = new DatagramPacket(new byte[20], 20);
300 ds.receive(receive);
302 assertTrue("Wrong size: " + receive.getLength(), receive
304 assertTrue("Wrong receiver", receive.getAddress().equals(localHost));
323 ms.receive(rdp);
362 DatagramPacket receive = new DatagramPacket(new byte[20], 20);
364 ds.receive(receiv
2091 protected void receive(DatagramPacket arg0) throws IOException { method in class:OldDatagramSocketTest.TestDatagramSocketImpl
[all...]
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java160 public SocketAddress receive(ByteBuffer target) throws IOException { method in class:DatagramChannelImpl
172 // receive real data packet, (not peek)
541 * @see java.net.DatagramSocket#receive(java.net.DatagramPacket)
544 public void receive(DatagramPacket packet) throws IOException { method in class:DatagramChannelImpl.DatagramSocketAdapter
548 super.receive(packet);

Completed in 180 milliseconds