public DatagramChannel createDatagramChannel(String id, int bufferSize) throws IOException {
        DatagramChannel chan = mgr.createDatagramChannel(id, bufferSize);
        notifyList.handleNotification(new Notification("register", this, 0), chan);
        return chan;
    }