Class JPPFIdentifiers

java.lang.Object
org.jppf.utils.JPPFIdentifiers

public final class JPPFIdentifiers extends Object
Channel identifiers sent over the network as part of the handshaking with a JPPF server.
Author:
Laurent Cohen
  • Field Details

    • UNKNOWN

      public static final int UNKNOWN
      Identifier for an unidentified channel.
      See Also:
    • PEER_HEARTBEAT_CHANNEL

      public static final int PEER_HEARTBEAT_CHANNEL
      Identifier for a driver-tot-driver heartbeat connection.
      See Also:
    • CLIENT_HEARTBEAT_CHANNEL

      public static final int CLIENT_HEARTBEAT_CHANNEL
      Identifier for a client-driver heartbeat connection.
      See Also:
    • NODE_HEARTBEAT_CHANNEL

      public static final int NODE_HEARTBEAT_CHANNEL
      Identifier for a nodet-driver heartbeat connection.
      See Also:
    • JMX_REMOTE_CHANNEL

      public static final int JMX_REMOTE_CHANNEL
      Identifier for a JMX remote channel.
      See Also:
    • ACCEPTOR_CHANNEL

      public static final int ACCEPTOR_CHANNEL
      Identifier for an acceptor channel.
      See Also:
    • CLIENT_JOB_DATA_CHANNEL

      public static final int CLIENT_JOB_DATA_CHANNEL
      Identifier for the job data channel of a client.
      See Also:
    • CLIENT_CLASSLOADER_CHANNEL

      public static final int CLIENT_CLASSLOADER_CHANNEL
      Identifier for the class loader channel of a client.
      See Also:
    • NODE_JOB_DATA_CHANNEL

      public static final int NODE_JOB_DATA_CHANNEL
      Identifier for the job data channel of a node.
      See Also:
    • NODE_CLASSLOADER_CHANNEL

      public static final int NODE_CLASSLOADER_CHANNEL
      Identifier for the class loader channel of a node.
      See Also:
  • Constructor Details

    • JPPFIdentifiers

      public JPPFIdentifiers()
  • Method Details

    • asString

      public static String asString(int id)
      Get an identifier as a string.
      Parameters:
      id - the id to lookup.
      Returns:
      a readable string for the id.
    • serverName

      public static String serverName(int id)
      Get a server name for the psecified identifier.
      Parameters:
      id - the id to lookup.
      Returns:
      a readable string for the server name.
    • descriptorFor

      public static JPPFChannelDescriptor descriptorFor(int identifier)
      Retrieve the JPPF channel descriptor for the specified channel identifier.
      Parameters:
      identifier - the channel identifier.
      Returns:
      a corresponding JPPFChannelDescriptor instance.