protected void SetDisplayNameReplyEventHandler(String capsKey, IMessage message, Simulator simulator)
{
if (onSetDisplayNameReply != null)
{
SetDisplayNameReplyMessage msg = (SetDisplayNameReplyMessage)message;
onSetDisplayNameReply.raiseEvent(new SetDisplayNameReplyEventArgs(msg.Status, msg.Reason, msg.DisplayName));
}
}