/** * Returns the source address of this outbound socket binding. If no explicit source address is specified * for this binding, then this method returns the address of the default interface that's configured * for the socket binding group. * * @return source address of this outbound socket binding if specified, * default interface of the socket binding manager otherwise */ public InetAddress getSourceAddress() { return this.sourceNetworkInterface != null ? this.sourceNetworkInterface.getAddress() : this.socketBindingManager.getDefaultInterfaceAddress(); }
/** * Returns the source address of this outbound socket binding. If no explicit source address is specified * for this binding, then this method returns the address of the default interface that's configured * for the socket binding group * * @return */ public InetAddress getSourceAddress() { return this.sourceNetworkInterface != null ? this.sourceNetworkInterface.getAddress() : this.socketBindingManager.getDefaultInterfaceAddress(); }
/** * Returns the source address of this outbound socket binding. If no explicit source address is specified * for this binding, then this method returns the address of the default interface that's configured * for the socket binding group * * @return */ public InetAddress getSourceAddress() { return this.sourceNetworkInterface != null ? this.sourceNetworkInterface.getAddress() : this.socketBindingManager.getDefaultInterfaceAddress(); }
/** * Return the resolved {@link InetAddress} for this binding. * * @return the resolve address */ public InetAddress getAddress() { return networkInterface != null ? networkInterface.getAddress() : socketBindings.getDefaultInterfaceAddress(); }
/** * Return the resolved {@link InetAddress} for this binding. * * @return the resolve address */ public InetAddress getAddress() { return networkInterface != null ? networkInterface.getAddress() : socketBindings.getDefaultInterfaceAddress(); }
/** * Return the resolved {@link InetAddress} for this binding. * * @return the resolve address */ public InetAddress getAddress() { return networkInterface != null ? networkInterface.getAddress() : socketBindings.getDefaultInterfaceAddress(); }