Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.TeleportFailedPacket$InfoBlock


  /// <param name="simulator">The simulator originating the event message</param>
  public void TeleportFailedEventHandler(String messageKey, IMessage message, Simulator simulator) throws UnknownHostException, Exception
  {
    TeleportFailedMessage msg = (TeleportFailedMessage)message;

    TeleportFailedPacket failedPacket = new TeleportFailedPacket();
    failedPacket.Info.AgentID = msg.AgentID;
    failedPacket.Info.Reason = Utils.stringToBytesWithTrailingNullByte(msg.Reason);

    TeleportHandler(this, new PacketReceivedEventArgs(failedPacket, simulator));
  }
View Full Code Here


      JLogger.debug("TeleportProgress received, Message: " + teleportMessage + ", Flags: " + flags.toString());
    }
    else if (packet.Type == PacketType.TeleportFailed)
    {
      TeleportFailedPacket failed = (TeleportFailedPacket)packet;

      teleportMessage = Utils.bytesWithTrailingNullByteToString(failed.Info.Reason);
      teleportStat = TeleportStatus.Failed;
      finished = true;
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.TeleportFailedPacket$InfoBlock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.