use of com.tvd12.ezyfoxserver.constant.EzyConnectionType in project ezyfox-server by youngmonkeys.
the class EzyHandlerGroupManagerImpl method newHandlerGroup.
@SuppressWarnings("unchecked")
@Override
public <T extends EzyHandlerGroup> T newHandlerGroup(EzyChannel channel, EzyConnectionType type) {
EzyHandlerGroup group = handlerGroupBuilderFactory.newBuilder(channel, type).build();
groupsByConnection.put(channel.getConnection(), group);
return (T) group;
}
Aggregations