async
Class ASyncServiceKey

java.lang.Object
  extended by async.ASyncServiceKey
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
ASyncTCPKey, ASyncUDPKey

public class ASyncServiceKey
extends java.lang.Object
implements java.lang.Comparable

An identifier for an ASyncService object. A service can provide an implementation that extends this class, adding methods that allow other services to interact with this service at run-time.

Author:
Michael Parker

Constructor Summary
ASyncServiceKey(java.lang.String _name)
          The name that identifies this service.
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 java.lang.String getName()
          Returns the name of this service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASyncServiceKey

public ASyncServiceKey(java.lang.String _name)
The name that identifies this service.

Parameters:
_name - the name of this service
Method Detail

getName

public final java.lang.String getName()
Returns the name of this service.

Returns:
the service name

compareTo

public final int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable