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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DMockDatagramChannel.java59 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { method in class:MockDatagramChannel
/libcore/luni/src/main/java/java/nio/channels/
H A DDatagramChannel.java39 * is the reduced effort of security checks during send and receive. When
135 * in order to send and receive datagrams.
194 * has started a send operation on this channel.
196 * This method executes the same security checks as the send method of the
219 public abstract int send(ByteBuffer source, SocketAddress address) throws IOException; method in class:DatagramChannel
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DDatagramSocketImplTest.java126 protected void send(DatagramPacket pack) throws IOException { method in class:MockDatagramSocketImpl
H A DDatagramSocketTest.java66 serverSocket.send(rdp);
121 ds.send(dp);
149 DatagramPacket send = new DatagramPacket(new byte[10], 10, localHost,
151 ds.send(send);
188 final DatagramPacket send = new DatagramPacket(sendBytes, sendBytes.length);
191 ds.send(send);
197 assertPacketDataEquals(send, receive);
203 // Validate that once connected we cannot send t
412 protected void send(DatagramPacket arg0) throws IOException { method in class:DatagramSocketTest.TestDatagramSocketImpl
[all...]
/libcore/luni/src/main/java/java/net/
H A DDatagramSocketImpl.java47 * bound prior to attempting to send or receive data.
205 protected abstract void send(DatagramPacket pack) throws IOException; method in class:DatagramSocketImpl
H A DMulticastSocket.java248 public void send(DatagramPacket packet, byte ttl) throws IOException { method in class:MulticastSocket
255 impl.send(packet);
260 impl.send(packet);
H A DPlainDatagramSocketImpl.java181 public void send(DatagramPacket packet) throws IOException { method in class:PlainDatagramSocketImpl
H A DDatagramSocket.java234 * Returns this socket's {@link SocketOptions#SO_SNDBUF send buffer size}.
285 public void send(DatagramPacket pack) throws IOException { method in class:DatagramSocket
305 impl.send(pack);
329 * Sets this socket's {@link SocketOptions#SO_SNDBUF send buffer size}.
501 * Future calls to {@link #send} will use this as the default target, and {@link #receive}
547 * Future calls to {@link #send} will use this as the default target, and {@link #receive}
633 * must be enabled to send broadcast messages.
/libcore/luni/src/test/java/libcore/java/net/
H A DOldDatagramSocketImplFactoryTest.java187 protected void send(DatagramPacket arg0) throws IOException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java294 public int send(ByteBuffer source, SocketAddress socketAddress) throws IOException { method in class:DatagramChannelImpl
606 public void send(DatagramPacket packet) throws IOException { method in class:DatagramChannelImpl.DatagramSocketAdapter
611 // DatagramSocket.send() will implicitly bind if it hasn't been done explicitly. Force
614 super.send(packet);
616 // DatagramSocket.send() will implicitly bind if it hasn't been done explicitly.

Completed in 588 milliseconds