public ChannelFuture joinGroup(InetAddress multicastAddress) { try { return joinGroup( multicastAddress, NetworkInterface.getByInetAddress(getLocalAddress().getAddress()), null); } catch (SocketException e) { return failedFuture(this, e); } }
public ChannelFuture leaveGroup(InetAddress multicastAddress) { try { return leaveGroup( multicastAddress, NetworkInterface.getByInetAddress(getLocalAddress().getAddress()), null); } catch (SocketException e) { return failedFuture(this, e); } }
/** * Block the given sourceToBlock address for the given multicastAddress * */ public ChannelFuture block(InetAddress multicastAddress, InetAddress sourceToBlock) { try { block(multicastAddress, NetworkInterface.getByInetAddress(getLocalAddress().getAddress()), sourceToBlock); } catch (SocketException e) { return failedFuture(this, e); } return succeededFuture(this); }
final SocketAddress localAddress = channel.getLocalAddress(); if (localAddress == null) { if (future != null) {
fireChannelBound(channel, channel.getLocalAddress());
public ChannelFuture leaveGroup(InetAddress multicastAddress) { try { return leaveGroup( multicastAddress, NetworkInterface.getByInetAddress(getLocalAddress().getAddress()), null); } catch (SocketException e) { return failedFuture(this, e); } }
public ChannelFuture joinGroup(InetAddress multicastAddress) { try { return joinGroup( multicastAddress, NetworkInterface.getByInetAddress(getLocalAddress().getAddress()), null); } catch (SocketException e) { return failedFuture(this, e); } }
/** * Block the given sourceToBlock address for the given multicastAddress * */ public ChannelFuture block(InetAddress multicastAddress, InetAddress sourceToBlock) { try { block(multicastAddress, NetworkInterface.getByInetAddress(getLocalAddress().getAddress()), sourceToBlock); } catch (SocketException e) { return failedFuture(this, e); } return succeededFuture(this); }
final SocketAddress localAddress = channel.getLocalAddress(); final SocketAddress remoteAddress = channel.getRemoteAddress(); if (localAddress == null) {
fireChannelBound(channel, channel.getLocalAddress());
final SocketAddress localAddress = channel.getLocalAddress(); final SocketAddress remoteAddress = channel.getRemoteAddress(); if (localAddress == null) {