Class RakNetPeerInterface

java.lang.Object
zombie.core.raknet.RakNetPeerInterface

public class RakNetPeerInterface
extends java.lang.Object
  • Field Details

    • ID_NEW_INCOMING_CONNECTION

      public static final int ID_NEW_INCOMING_CONNECTION
      See Also:
      Constant Field Values
    • ID_DISCONNECTION_NOTIFICATION

      public static final int ID_DISCONNECTION_NOTIFICATION
      See Also:
      Constant Field Values
    • ID_INCOMPATIBLE_PROTOCOL_VERSION

      public static final int ID_INCOMPATIBLE_PROTOCOL_VERSION
      See Also:
      Constant Field Values
    • ID_CONNECTED_PING

      public static final int ID_CONNECTED_PING
      See Also:
      Constant Field Values
    • ID_UNCONNECTED_PING

      public static final int ID_UNCONNECTED_PING
      See Also:
      Constant Field Values
    • ID_CONNECTION_LOST

      public static final int ID_CONNECTION_LOST
      See Also:
      Constant Field Values
    • ID_ALREADY_CONNECTED

      public static final int ID_ALREADY_CONNECTED
      See Also:
      Constant Field Values
    • ID_REMOTE_DISCONNECTION_NOTIFICATION

      public static final int ID_REMOTE_DISCONNECTION_NOTIFICATION
      See Also:
      Constant Field Values
    • ID_REMOTE_CONNECTION_LOST

      public static final int ID_REMOTE_CONNECTION_LOST
      See Also:
      Constant Field Values
    • ID_REMOTE_NEW_INCOMING_CONNECTION

      public static final int ID_REMOTE_NEW_INCOMING_CONNECTION
      See Also:
      Constant Field Values
    • ID_CONNECTION_BANNED

      public static final int ID_CONNECTION_BANNED
      See Also:
      Constant Field Values
    • ID_CONNECTION_ATTEMPT_FAILED

      public static final int ID_CONNECTION_ATTEMPT_FAILED
      See Also:
      Constant Field Values
    • ID_NO_FREE_INCOMING_CONNECTIONS

      public static final int ID_NO_FREE_INCOMING_CONNECTIONS
      See Also:
      Constant Field Values
    • ID_CONNECTION_REQUEST_ACCEPTED

      public static final int ID_CONNECTION_REQUEST_ACCEPTED
      See Also:
      Constant Field Values
    • ID_INVALID_PASSWORD

      public static final int ID_INVALID_PASSWORD
      See Also:
      Constant Field Values
    • ID_TIMESTAMP

      public static final int ID_TIMESTAMP
      See Also:
      Constant Field Values
    • ID_PING

      public static final int ID_PING
      See Also:
      Constant Field Values
    • ID_RAKVOICE_OPEN_CHANNEL_REQUEST

      public static final int ID_RAKVOICE_OPEN_CHANNEL_REQUEST
      See Also:
      Constant Field Values
    • ID_RAKVOICE_OPEN_CHANNEL_REPLY

      public static final int ID_RAKVOICE_OPEN_CHANNEL_REPLY
      See Also:
      Constant Field Values
    • ID_RAKVOICE_CLOSE_CHANNEL

      public static final int ID_RAKVOICE_CLOSE_CHANNEL
      See Also:
      Constant Field Values
    • ID_RAKVOICE_DATA

      public static final int ID_RAKVOICE_DATA
      See Also:
      Constant Field Values
    • ID_USER_PACKET_ENUM

      public static final int ID_USER_PACKET_ENUM
      See Also:
      Constant Field Values
    • PacketPriority_IMMEDIATE

      public static final int PacketPriority_IMMEDIATE
      See Also:
      Constant Field Values
    • PacketPriority_HIGH

      public static final int PacketPriority_HIGH
      See Also:
      Constant Field Values
    • PacketPriority_MEDIUM

      public static final int PacketPriority_MEDIUM
      See Also:
      Constant Field Values
    • PacketPriority_LOW

      public static final int PacketPriority_LOW
      See Also:
      Constant Field Values
    • PacketReliability_UNRELIABLE

      public static final int PacketReliability_UNRELIABLE
      See Also:
      Constant Field Values
    • PacketReliability_UNRELIABLE_SEQUENCED

      public static final int PacketReliability_UNRELIABLE_SEQUENCED
      See Also:
      Constant Field Values
    • PacketReliability_RELIABLE

      public static final int PacketReliability_RELIABLE
      See Also:
      Constant Field Values
    • PacketReliability_RELIABLE_ORDERED

      public static final int PacketReliability_RELIABLE_ORDERED
      See Also:
      Constant Field Values
    • PacketReliability_RELIABLE_SEQUENCED

      public static final int PacketReliability_RELIABLE_SEQUENCED
      See Also:
      Constant Field Values
    • PacketReliability_UNRELIABLE_WITH_ACK_RECEIPT

      public static final int PacketReliability_UNRELIABLE_WITH_ACK_RECEIPT
      See Also:
      Constant Field Values
    • PacketReliability_RELIABLE_WITH_ACK_RECEIPT

      public static final int PacketReliability_RELIABLE_WITH_ACK_RECEIPT
      See Also:
      Constant Field Values
    • PacketReliability_RELIABLE_ORDERED_WITH_ACK_RECEIPT

      public static final int PacketReliability_RELIABLE_ORDERED_WITH_ACK_RECEIPT
      See Also:
      Constant Field Values
  • Constructor Details

    • RakNetPeerInterface

      public RakNetPeerInterface()
  • Method Details

    • init

      public static void init()
    • Init

      public void Init​(boolean boolean1)
    • Startup

      public int Startup​(int int1)
    • Shutdown

      public void Shutdown()
    • SetServerIP

      public void SetServerIP​(java.lang.String string)
    • SetServerPort

      public void SetServerPort​(int int1)
    • SetClientPort

      public void SetClientPort​(int int1)
    • Connect

      public int Connect​(java.lang.String string, int int1, java.lang.String string2)
    • ConnectToSteamServer

      public int ConnectToSteamServer​(long long1, java.lang.String string)
    • GetServerIP

      public java.lang.String GetServerIP()
    • GetClientSteamID

      public long GetClientSteamID​(long long1)
    • GetClientOwnerSteamID

      public long GetClientOwnerSteamID​(long long1)
    • SetIncomingPassword

      public void SetIncomingPassword​(java.lang.String string)
    • SetTimeoutTime

      public void SetTimeoutTime​(int int1)
    • SetMaximumIncomingConnections

      public void SetMaximumIncomingConnections​(int int1)
    • SetOccasionalPing

      public void SetOccasionalPing​(boolean boolean1)
    • SetUnreliableTimeout

      public void SetUnreliableTimeout​(int int1)
    • ApplyNetworkSimulator

      public void ApplyNetworkSimulator​(float float1, short short1, short short2)
    • Receive

      public boolean Receive​(java.nio.ByteBuffer byteBuffer)
    • Send

      public int Send​(java.nio.ByteBuffer byteBuffer, int int1, int int2, byte byte1, long long1, boolean boolean1)
    • SendRaw

      public int SendRaw​(java.nio.ByteBuffer byteBuffer, int int1, int int2, byte byte1, long long1, boolean boolean1)
    • getGuidFromIndex

      public long getGuidFromIndex​(int int1)
    • getGuidOfPacket

      public long getGuidOfPacket()
    • getIPFromGUID

      public java.lang.String getIPFromGUID​(long long1)
    • SendFileAnnounce

      public int SendFileAnnounce​(long long1, long long2, long long3, long long4, java.lang.String string)
    • SendFileChunk

      public int SendFileChunk​(long long1, long long2, long long3, byte[] byteArray, long long4)
    • ReceiveFileAnnounce

      public ZNetFileAnnounce ReceiveFileAnnounce()
    • ReceiveFileChunk

      public ZNetFileChunk ReceiveFileChunk()
    • disconnect

      public void disconnect​(long long1)
    • GetNetStatistics

      public ZNetStatistics GetNetStatistics​(long long1)
    • GetAveragePing

      public int GetAveragePing​(long long1)
    • GetLastPing

      public int GetLastPing​(long long1)
    • GetLowestPing

      public int GetLowestPing​(long long1)
    • GetMTUSize

      public int GetMTUSize​(long long1)