de.hfu.anybeam.networkCore

## Class BroadcastListener

- java.lang.Object
- - de.hfu.anybeam.networkCore.BroadcastListener

- All Implemented Interfaces:
    java.lang.Runnable

      public class BroadcastListener
      extends java.lang.Object
      implements java.lang.Runnable

  A class that listens for incoming broadcast messages and notifies its `NetworkEnvironment`
  Since:
    1.0
  Version:
    1.0
  Author:
    chrwuer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BroadcastListener(NetworkEnvironment owner)` Creates a new BrodcastListener instance owned by the given `NetworkEnvironment`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `dispose()` Disposes this `BroadcastListener` object and all its resources.
    `void` | `run()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BroadcastListener

          public BroadcastListener(NetworkEnvironment owner)
                            throws java.lang.Exception

      Creates a new BrodcastListener instance owned by the given `NetworkEnvironment`
      Parameters:
        `owner` - the `NetworkEnvironment` which owns this BroadcastListener
      Throws:
        `java.io.IOException`
        `javax.crypto.NoSuchPaddingException`
        `java.security.NoSuchAlgorithmException`
        `java.lang.Exception`

  - ### Method Detail

    - #### dispose

          public void dispose()

      Disposes this `BroadcastListener` object and all its resources.

    - #### run

          public void run()

      Specified by:
        `run` in interface `java.lang.Runnable`