 import mx.core.mx_internal;
 import mx.logging.Log;
 import mx.messaging.FlexClient;
+import mx.messaging.MessageResponder;
 import mx.messaging.config.ConfigMap;
 import mx.messaging.config.ServerConfig;
 import mx.messaging.events.ChannelFaultEvent;

        {
            var msg:CommandMessage = new CommandMessage();
            msg.operation = CommandMessage.DISCONNECT_OPERATION;
            internalSend(new AMFFireAndForgetResponder(msg));
        }
        // Shut down locally.
        setConnected(false);

    }
}

}