/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | MockDatagramChannel.java | 49 public SocketAddress receive(ByteBuffer arg0) throws IOException { method in class:MockDatagramChannel
|
/libcore/luni/src/main/java/java/io/ |
H A D | PipedInputStream.java | 221 * "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 D | PipedReader.java | 238 * 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 D | DatagramChannel.java | 36 * 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 D | DatagramSocketImpl.java | 47 * 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 D | DatagramSocket.java | 202 * 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 D | PlainDatagramSocketImpl.java | 168 public void receive(DatagramPacket pack) throws IOException { method in class:PlainDatagramSocketImpl
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldDatagramSocketImplFactoryTest.java | 183 protected void receive(DatagramPacket arg0) throws IOException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
|
H A D | OldDatagramSocketTest.java | 72 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 D | DatagramChannelImpl.java | 160 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);
|