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

/libcore/luni/src/main/java/java/io/
H A DPipedInputStream.java220 * "Pipe broken" will be thrown in receive()
233 // 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.java245 * of "Pipe broken" will be thrown in receive()
259 // Notify callers of receive()
333 * If the buffer is full and the thread sending #receive is interrupted, the
343 synchronized void receive(char oneChar) throws IOException { method in class:PipedReader
383 * If the buffer is full and the thread sending #receive is interrupted, the
390 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.java48 * bound prior to attempting to send or receive data.
125 * a group before being able to receive data. Further, a socket may be a
138 * a group before being able to receive data. Further, a socket may be a
144 * the local network interface which will receive the multicast
202 protected abstract void receive(DatagramPacket pack) throws IOException; method in class:DatagramSocketImpl
268 * {@code peekData()} or {@code receive()} call. This call blocks until
H A DDatagramSocket.java205 * Returns this socket's {@link SocketOptions#SO_RCVBUF receive buffer size}.
221 * Gets the socket {@link SocketOptions#SO_TIMEOUT receive timeout}.
243 public synchronized void receive(DatagramPacket pack) throws IOException { method in class:DatagramSocket
253 impl.receive(pack);
319 * Sets this socket's {@link SocketOptions#SO_SNDBUF receive buffer size}.
331 * This receive timeout defines the period the socket will block waiting to
332 * receive data before throwing an {@code InterruptedIOException}. The value
466 * Future calls to {@link #send} will use this as the default target, and {@link #receive}
499 * 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.java167 public SocketAddress receive(ByteBuffer target) throws IOException { method in class:DatagramChannelImpl
179 // receive real data packet, (not peek)
548 * @see java.net.DatagramSocket#receive(java.net.DatagramPacket)
551 public void receive(DatagramPacket packet) throws IOException { method in class:DatagramChannelImpl.DatagramSocketAdapter
555 super.receive(packet);

Completed in 246 milliseconds