HomeSort by relevance Sort by last modified time
    Searched refs:SocketAddress (Results 1 - 25 of 49) sorted by null

1 2

  /libcore/luni/src/main/java/java/net/
SocketAddress.java 27 public abstract class SocketAddress implements Serializable {
32 * Creates a new {@code SocketAddress} instance.
34 public SocketAddress() {
Proxy.java 38 private SocketAddress address;
41 * Creates a new {@code Proxy} instance. {@code SocketAddress} must NOT be
53 * Proxy.Type.DIRECT} or the value for {@code SocketAddress} is
56 public Proxy(Proxy.Type type, SocketAddress sa) {
59 * SocketAddress must NOT be null.
62 throw new IllegalArgumentException("Illegal Proxy.Type or SocketAddress argument");
70 * SocketAddress. This constructor is used for NO_PROXY.
92 public SocketAddress address() {
DatagramPacket.java 280 public DatagramPacket(byte[] data, int length, SocketAddress sockAddr)
304 SocketAddress sockAddr) throws SocketException {
311 * as a {@code SocketAddress} object.
313 * @return the SocketAddress of the target host.
315 public synchronized SocketAddress getSocketAddress() {
320 * Sets the {@code SocketAddress} for this datagram packet.
323 * the SocketAddress of the target host.
325 public synchronized void setSocketAddress(SocketAddress sockAddr) {
DatagramSocketImpl.java 154 protected abstract void joinGroup(SocketAddress addr,
179 protected abstract void leaveGroup(SocketAddress addr,
ProxySelector.java 126 public abstract void connectFailed(URI uri, SocketAddress sa,
DatagramSocket.java 553 * by the {@code SocketAddress} {@code localAddr} or an unbound {@code
554 * DatagramSocket} if the {@code SocketAddress} is {@code null}.
559 * if the SocketAddress is not supported
563 public DatagramSocket(SocketAddress localAddr) throws SocketException {
605 * if the SocketAddress is not supported
610 public void bind(SocketAddress localAddr) throws SocketException {
642 public void connect(SocketAddress remoteAddr) throws SocketException {
711 public SocketAddress getRemoteSocketAddress() {
724 public SocketAddress getLocalSocketAddress() {
InetSocketAddress.java 25 * number. It is a concrete implementation of {@code SocketAddress} for IP.
27 public class InetSocketAddress extends SocketAddress {
MulticastSocket.java 211 public void joinGroup(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException {
249 public void leaveGroup(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException {
254 private void checkJoinOrLeave(SocketAddress groupAddress, NetworkInterface netInterface) throws IOException {
527 * the {@code SocketAddress}, or an unbound {@code DatagramSocket} if the
528 * {@code SocketAddress} is {@code null}.
533 * if the {@code SocketAddress} is not supported.
538 public MulticastSocket(SocketAddress localAddr) throws IOException {
SocketImpl.java 276 * by the {@code SocketAddress} object with the given timeout. This method
286 protected abstract void connect(SocketAddress remoteAddr, int timeout)
ServerSocket.java 347 * if the {@code SocketAddress} is not supported.
352 public void bind(SocketAddress localAddr) throws IOException {
364 * @throws IllegalArgumentException if the {@code SocketAddress} is not
369 public void bind(SocketAddress localAddr, int backlog) throws IOException {
410 public SocketAddress getLocalSocketAddress() {
  /libcore/luni/src/main/java/java/nio/channels/
DatagramChannel.java 22 import java.net.SocketAddress;
130 public abstract DatagramChannel connect(SocketAddress address)
184 public abstract SocketAddress receive(ByteBuffer target) throws IOException;
225 public abstract int send(ByteBuffer source, SocketAddress address)
SocketChannel.java 22 import java.net.SocketAddress;
33 * After connecting it by calling {@code connect(SocketAddress)}, it will remain
35 * {@code connect(SocketAddress)} is used to initiate the connection, followed
53 * any given time. The {@code connect(SocketAddress)} and {@code
110 public static SocketChannel open(SocketAddress address) throws IOException {
196 public abstract boolean connect(SocketAddress address) throws IOException;
200 * connect(SocketAddress)}.
  /libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
MockDatagramChannel.java 22 import java.net.SocketAddress;
41 public DatagramChannel connect(SocketAddress arg0) throws IOException {
49 public SocketAddress receive(ByteBuffer arg0) throws IOException {
53 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException {
MockSocketChannel.java 22 import java.net.SocketAddress;
45 public boolean connect(SocketAddress arg0) throws IOException {
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLSocketImplWrapper.java 23 import java.net.SocketAddress;
43 public void connect(SocketAddress sockaddr, int timeout)
49 public void connect(SocketAddress sockaddr) throws IOException {
54 public void bind(SocketAddress sockaddr) throws IOException {
59 public SocketAddress getRemoteSocketAddress() {
64 public SocketAddress getLocalSocketAddress() {
SSLSocketWrapper.java 23 import java.net.SocketAddress;
62 public void connect(SocketAddress sockaddr, int timeout)
68 public void connect(SocketAddress sockaddr) throws IOException {
73 public void bind(SocketAddress sockaddr) throws IOException {
78 public SocketAddress getRemoteSocketAddress() {
83 public SocketAddress getLocalSocketAddress() {
  /libcore/luni/src/test/java/libcore/java/net/
OldProxyTest.java 20 import java.net.SocketAddress;
25 private SocketAddress address = new InetSocketAddress("127.0.0.1", 1234);
40 SocketAddress address1 = new InetSocketAddress("127.0.0.1", 1234);
52 SocketAddress address2 = new InetSocketAddress("127.0.0.1", 1235);
OldDatagramSocketImplFactoryTest.java 27 import java.net.SocketAddress;
161 protected void joinGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException {
169 protected void leaveGroup(SocketAddress arg0, NetworkInterface arg1) throws IOException {
OldSocketImplFactoryTest.java 9 import java.net.SocketAddress;
145 protected void connect(SocketAddress arg0, int arg1) throws IOException {
OldDatagramSocketTest.java 33 import java.net.SocketAddress;
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/
SipStackExt.java 12 import java.net.SocketAddress;
137 * @return the SocketAddress that this handler would use when connecting to
142 public SocketAddress obtainLocalAddress(InetAddress dst, int dstPort,
  /libcore/luni/src/main/java/org/apache/harmony/nio/internal/
ServerSocketChannelImpl.java 24 import java.net.SocketAddress;
136 @Override public void bind(SocketAddress localAddress, int backlog) throws IOException {
182 @Override public void bind(SocketAddress localAddress) throws IOException {
DatagramChannelImpl.java 33 import java.net.SocketAddress;
133 * @see java.nio.channels.DatagramChannel#connect(java.net.SocketAddress)
136 synchronized public DatagramChannel connect(SocketAddress address) throws IOException {
193 public SocketAddress receive(ByteBuffer target) throws IOException {
201 SocketAddress retAddr = null;
223 private SocketAddress receiveImpl(ByteBuffer target, boolean loop) throws IOException {
224 SocketAddress retAddr = null;
269 private SocketAddress receiveDirectImpl(ByteBuffer target, boolean loop) throws IOException {
270 SocketAddress retAddr = null;
304 * java.net.SocketAddress)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
InetSocketAddressTest.java 27 import java.net.SocketAddress;
52 clazz = SocketAddress.class,
53 method = "SocketAddress",
99 clazz = SocketAddress.class,
100 method = "SocketAddress",
168 clazz = SocketAddress.class,
169 method = "SocketAddress",
  /libcore/luni/src/main/java/org/apache/harmony/luni/net/
PlainDatagramSocketImpl.java 28 import java.net.SocketAddress;
141 public void joinGroup(SocketAddress addr, NetworkInterface netInterface) throws IOException {
154 public void leaveGroup(SocketAddress addr, NetworkInterface netInterface) throws IOException {

Completed in 742 milliseconds

1 2