java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.dummy.VMCommSystem.ReceiveJob
All Implemented Interfaces:
Job
Enclosing class:
VMCommSystem

private class VMCommSystem.ReceiveJobextends JobImpl
Delivers a message received from another router.
  • Field Details

    • _from

      private Hash _from
      The sender's hash.
    • _msg

      private byte[] _msg
      The message bytes.
    • _ctx

      private RouterContext _ctx
      The receiving router's context.
  • Constructor Details

    • ReceiveJob

      public ReceiveJob(Hash from, byte[] msg, RouterContext us)
      Holds a message to deliver to a job.
      Parameters:
      from - the hash of the sending router
      msg - the message bytes
      us - the local router context
  • Method Details

    • runJob

      public void runJob()
      Execute the job.
    • getName

      public String getName()
      Return the name.
      Returns:
      the descriptive name of the task