at.chrl.iryna.implementation

Class IrynaConnection

  • java.lang.Object
    • at.chrl.nutils.network.AConnection
      • at.chrl.iryna.implementation.IrynaConnection


  • public class IrynaConnectionextends at.chrl.nutils.network.AConnection
    Author:
    Vinzynth
    • Method Detail

      • processData

        protected boolean processData(ByteBuffer data)
        Specified by:
        processData in class at.chrl.nutils.network.AConnection
        See Also:
        AConnection.processData(java.nio.ByteBuffer)
      • writeData

        protected boolean writeData(ByteBuffer data)
        Specified by:
        writeData in class at.chrl.nutils.network.AConnection
        See Also:
        AConnection.writeData(java.nio.ByteBuffer)
      • getDisconnectionDelay

        protected long getDisconnectionDelay()
        Specified by:
        getDisconnectionDelay in class at.chrl.nutils.network.AConnection
        See Also:
        AConnection.getDisconnectionDelay()
      • onDisconnect

        protected void onDisconnect()
        Specified by:
        onDisconnect in class at.chrl.nutils.network.AConnection
        See Also:
        AConnection.onDisconnect()
      • onServerClose

        protected void onServerClose()
        Specified by:
        onServerClose in class at.chrl.nutils.network.AConnection
        See Also:
        AConnection.onServerClose()
      • close

        public void close(boolean forced)
        Overrides:
        close in class at.chrl.nutils.network.AConnection
      • close

        public void close(IrynaPacketOutgoing closePacket,                  boolean forced)
        Its guaranted that closePacket will be sent before closing connection, but all past and future packets wont. Connection will be closed [by Dispatcher Thread], and onDisconnect() method will be called to clear all other things. forced means that server shouldn't wait with removing this connection.
        Parameters:
        closePacket - Packet that will be send before closing.
        forced - have no effect in this implementation.

Copyright © 2014–2015. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14