if (channelWrapper == null) {
channelWrapper = new ChannelWrapper(ref);
} else {
channelWrapper.setChannelRef(ref);
}
this.wrappedChannelRef = dataService.createReference(channelWrapper);
this.channelRefId = ref.getId();
this.coordNodeId = getLocalNodeId();
if (logger.isLoggable(Level.FINER)) {
logger.log(Level.FINER, "Created ChannelImpl:{0}",
HexDumper.toHexString(channelRefId));