Lines Matching refs:address

62     InetAddress address;
80 this.address = null;
108 * @param address the destination address.
115 InetAddress address, int port) {
117 setAddress(address);
131 * @param address the destination socket address.
132 * @throws IllegalArgumentException if address type is not supported
138 SocketAddress address) throws SocketException {
140 setSocketAddress(address);
151 * @param address the destination address.
156 InetAddress address, int port) {
157 this(buf, 0, length, address, port);
168 * @param address the destination address.
169 * @throws IllegalArgumentException if address type is not supported
174 SocketAddress address) throws SocketException {
175 this(buf, 0, length, address);
179 * Returns the IP address of the machine to which this datagram is being
182 * @return the IP address of the machine to which this datagram is being
188 return address;
273 * Sets the IP address of the machine to which this datagram
280 address = iaddr;
298 * Sets the SocketAddress (usually IP address + port number) of the remote
301 * @param address the <code>SocketAddress</code>
302 * @throws IllegalArgumentException if address is null or is a
308 public synchronized void setSocketAddress(SocketAddress address) {
309 if (address == null || !(address instanceof InetSocketAddress))
310 throw new IllegalArgumentException("unsupported address type");
311 InetSocketAddress addr = (InetSocketAddress) address;
313 throw new IllegalArgumentException("unresolved address");
319 * Gets the SocketAddress (usually IP address + port number) of the remote