Package com.ngt.jopenmetaverse.shared.protocol

Examples of com.ngt.jopenmetaverse.shared.protocol.CrossedRegionPacket


  /// <param name="e">The EventArgs object containing the packet data</param>
  /// <remarks>This packet is now being sent via the EventQueue</remarks>
  protected void CrossedRegionHandler(Object sender, PacketReceivedEventArgs e) throws Exception
  {
    Packet packet = e.getPacket();
    CrossedRegionPacket crossing = (CrossedRegionPacket)packet;
    String seedCap = Utils.bytesWithTrailingNullByteToString(crossing.RegionData.SeedCapability);
    InetSocketAddress endPoint = new InetSocketAddress(Utils.UIntToIP(crossing.RegionData.SimIP), crossing.RegionData.SimPort);

    JLogger.debug("Crossed in to new region area, attempting to connect to " + endPoint.toString());
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.protocol.CrossedRegionPacket

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.