Packages

class PacketReaderThread extends Thread with JustifiedCloseable

A simple abstract class to easily handle packet reading.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PacketReaderThread
  2. JustifiedCloseable
  3. AutoCloseable
  4. Thread
  5. Runnable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PacketReaderThread(reader: PacketReader, bound: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def checkAccess(): Unit
    Definition Classes
    Thread
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    Thread → AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException])
  7. def close(reason: Reason): Unit
  8. def close(): Unit
    Definition Classes
    JustifiedCloseable → AutoCloseable
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def getContextClassLoader(): ClassLoader
    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  13. def getId(): Long
    Definition Classes
    Thread
  14. final def getName(): String
    Definition Classes
    Thread
  15. final def getPriority(): Int
    Definition Classes
    Thread
  16. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Thread
  17. def getState(): State
    Definition Classes
    Thread
  18. final def getThreadGroup(): ThreadGroup
    Definition Classes
    Thread
  19. def getUncaughtExceptionHandler(): UncaughtExceptionHandler
    Definition Classes
    Thread
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def interrupt(): Unit
    Definition Classes
    Thread
  22. final def isAlive(): Boolean
    Definition Classes
    Thread
    Annotations
    @native()
  23. def isClosed: Boolean
  24. final def isDaemon(): Boolean
    Definition Classes
    Thread
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isInterrupted(): Boolean
    Definition Classes
    Thread
  27. def isOpen: Boolean
    Definition Classes
    JustifiedCloseable
    Annotations
    @inline()
  28. final def join(): Unit
    Definition Classes
    Thread
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def join(arg0: Long, arg1: Int): Unit
    Definition Classes
    Thread
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def join(arg0: Long): Unit
    Definition Classes
    Thread
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  34. var onPacketRead: (PacketDownload) => Unit
  35. var onReadException: () => Unit
  36. def run(): Unit

    Simply calls the refresh method while the thread is open.

    Simply calls the refresh method while the thread is open.
    The thread can only stop

    Definition Classes
    PacketReaderThread → Thread → Runnable
  37. def setContextClassLoader(arg0: ClassLoader): Unit
    Definition Classes
    Thread
  38. final def setDaemon(arg0: Boolean): Unit
    Definition Classes
    Thread
  39. final def setName(arg0: String): Unit
    Definition Classes
    Thread
  40. final def setPriority(arg0: Int): Unit
    Definition Classes
    Thread
  41. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit
    Definition Classes
    Thread
  42. def start(): Unit
    Definition Classes
    Thread
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    Thread → AnyRef → Any
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def countStackFrames(): Int
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  3. final def resume(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  4. final def stop(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  5. final def suspend(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated

Inherited from JustifiedCloseable

Inherited from AutoCloseable

Inherited from Thread

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped