ConnectionManager JavaScript is disabled on your browser. communication

Class ConnectionManager



    public class ConnectionManager
    extends java.lang.Object

      Field Detail

        javaSideSendSocket

        private java.net.DatagramSocket javaSideSendSocket

        javaSideListenSocket

        private java.net.DatagramSocket javaSideListenSocket

        IPAddressSend

        private java.net.InetAddress IPAddressSend

        actualSendPort

        private int actualSendPort

        receiveData

        private byte[] receiveData

        receivePacket

        private java.net.DatagramPacket receivePacket

      Constructor Detail

        ConnectionManager

        public ConnectionManager()

      Method Detail

        printUnityMessage

        public void printUnityMessage(java.lang.String message)

        init

        public void init(int sendPort,
                int receivePort)

        getPlayerData

        public java.lang.String getPlayerData()

        isNewData

        public boolean isNewData()

        sendRTIData

        public void sendRTIData(java.lang.String goingData)