Lines Matching refs:address
63 * Creates a RtpStream on the given local address. Note that the local
66 * @param address The network address of the local host to bind to.
67 * @throws SocketException if the address cannot be bound or a problem
70 RtpStream(InetAddress address) throws SocketException {
71 mLocalPort = create(address.getHostAddress());
72 mLocalAddress = address;
75 private native int create(String address) throws SocketException;
78 * Returns the network address of the local host.
92 * Returns the network address of the remote host or {@code null} if the
146 * @param address The network address of the remote host.
148 * @throws IllegalArgumentException if the address is not supported or the
153 public void associate(InetAddress address, int port) {
157 if (!(address instanceof Inet4Address && mLocalAddress instanceof Inet4Address) &&
158 !(address instanceof Inet6Address && mLocalAddress instanceof Inet6Address)) {
159 throw new IllegalArgumentException("Unsupported address");
164 mRemoteAddress = address;