Package Extasys

Examples of Extasys.DataFrame


                    {
                        try
                        {
                            synchronized (fMyTCPConnector.fReceiveDataLock)
                            {
                                fMyTCPConnector.fLastIncomingPacket = new IncomingTCPClientPacket(fMyTCPConnector, new DataFrame(fReadBuffer, 0, bytesRead), fMyTCPConnector.fLastIncomingPacket);
                            }
                        }
                        catch (Exception ex)
                        {
                            fMyTCPConnector.Stop();
View Full Code Here


        {
            fIncomingDataBuffer.Append(bytes);
            fIndexOfETX = fIncomingDataBuffer.IndexOf(fETXStr);
            while (fIndexOfETX > -1)
            {
                fMyConnector.getMyExtasysTCPClient().OnDataReceive(fMyConnector, new DataFrame(fIncomingDataBuffer.SubList(0, fIndexOfETX)));
                fIncomingDataBuffer.Delete(0, fIndexOfETX + fETXLength);
                fIndexOfETX = fIncomingDataBuffer.IndexOf(fETXStr);
            }
        }
        catch (Exception ex)
View Full Code Here

                    fClientConnection.fMyListener.fBytesIn += bytesRead;

                    // PACKET WITHOUT MESSAGE COLLECTOR
                    synchronized (fClientConnection.fReceiveDataLock)
                    {
                        fClientConnection.fLastIncomingPacket = new IncomingTCPClientConnectionPacket(fClientConnection, new DataFrame(fReadBuffer, 0, bytesRead), fClientConnection.fLastIncomingPacket);
                    }
                }
                else
                {
                    fClientConnection.DisconnectMe();
View Full Code Here

        {
            fIncomingDataBuffer.Append(bytes);
            fIndexOfETX = fIncomingDataBuffer.IndexOf(fETXStr);
            while (fIndexOfETX > -1)
            {
                fMyClient.getMyTCPListener().getMyExtasysTCPServer().OnDataReceive(fMyClient, new DataFrame(fIncomingDataBuffer.SubList(0, fIndexOfETX)));
                fIncomingDataBuffer.Delete(0, fIndexOfETX + fETXLength);
                fIndexOfETX = fIncomingDataBuffer.IndexOf(fETXStr);
            }
        }
        catch (Exception ex)
View Full Code Here

TOP

Related Classes of Extasys.DataFrame

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.