java.lang.Object
uk.ac.manchester.spinnaker.messages.model.AppID

public final class AppID extends Object
Application identifiers are used by SCAMP to tie various resources to their owners.
Author:
Donal Fellows
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    The application ID.
    static final AppID
    The default application ID, used when code doesn't have a better idea.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AppID(int appID)
    Create an application ID.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEFAULT

      public static final AppID DEFAULT
      The default application ID, used when code doesn't have a better idea.
    • appID

      public final int appID
      The application ID.
  • Constructor Details

    • AppID

      public AppID(int appID)
      Create an application ID.
      Parameters:
      appID - The proposed ID of the application. Must be between 0 and 255.
      Throws:
      IllegalArgumentException - If an illegal ID is given.
  • Method Details