Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.atp.auth
Class ServerIdentifier

    java.lang.Object
      |
      +--com.ibm.atp.auth.ServerIdentifier

public class ServerIdentifier
extends java.lang.Object

The `ServerIdentifier` class is the identifier of alget server.

Version:
  1.00 $Date: 2001/07/28 06:33:49 $
Author:
  ONO Kouichi

Constructor Summary
`protected` | `ServerIdentifier(java.net.InetAddress address, int port)` Constructor for server identifier.
`` | `ServerIdentifier(java.net.Socket socket)` Constructor for server identifier.

Method Summary
`boolean` | `equals(java.lang.Object obj)` Returns equality.

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServerIdentifier

    protected ServerIdentifier(java.net.InetAddress address,
                               int port)

  Constructor for server identifier.
  Parameters:
    `address` - IP address of the aglet server
    `port` - port of socket used by the aglet server

### ServerIdentifier

    public ServerIdentifier(java.net.Socket socket)

  Constructor for server identifier.
  Parameters:
    `socket` - socket used by the aglet server

Method Detail

### equals

    public boolean equals(java.lang.Object obj)

  Returns equality.
  Overrides:
    `equals` in class `java.lang.Object`
  Returns:
    true if the IP address and port equals to given server identifier, otherwise false.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD