Example usage for io.netty.channel.group ChannelGroup name

List of usage examples for io.netty.channel.group ChannelGroup name

Introduction

In this page you can find the example usage for io.netty.channel.group ChannelGroup name.

Prototype

String name();

Source Link

Document

Returns the name of this group.

Usage

From source file:com.caricah.iotracah.server.netty.channelgroup.IotChannelGroup.java

License:Apache License

@Override
public int compareTo(ChannelGroup o) {
    int v = name().compareTo(o.name());
    if (v != 0) {
        return v;
    }//from  www  .j  a v a2  s . c o  m

    return System.identityHashCode(this) - System.identityHashCode(o);
}