class OFSwitchImpl implements IOFSwitch {

    protected void deliverRoleRequestNotSupported(int xid) {
        synchronized(pendingRoleRequests) {
            PendingRoleRequestEntry head = pendingRoleRequests.poll();
            this.role = null;
            if (head!=null && head.xid == xid) {
                setAttribute(SWITCH_SUPPORTS_NX_ROLE, false);
            }
            else {
                this.channel.close();
            }
        }
    }

    public  OFSwitchImpl();

}