Class Task


  • public class Task
    extends java.lang.Object
    atomic unit of a transmission action, may split up by Session
    • Constructor Summary

      Constructors 
      Constructor Description
      Task​(de.xab.porter.api.task.Context context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init()  
      void registerChannel()
      construct relations among reader, writer and its channel, define the action when channel is ready to write
      void start()
      start a transmission task
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Task

        public Task​(de.xab.porter.api.task.Context context)
    • Method Detail

      • init

        public void init()
      • registerChannel

        public void registerChannel()
        construct relations among reader, writer and its channel, define the action when channel is ready to write
      • start

        public void start()
        start a transmission task