All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.comm.ComPointMailKey

java.lang.Object
   |
   +----semper.comm.ComPointMailKey

public class ComPointMailKey
extends Object
Defines a class for holding the key for ComPointMail records.

Version:
beta-4, 12.8.96
Author:
Mehdi Nassehi

Constructor Index

 o ComPointMailKey()
Constructor without args
 o ComPointMailKey(int, int, int)
Creats a ComPointMailKey.

Method Index

 o equals(Object)
Indicates whether some other key is "equal to" this one.
 o getConnection()
Returns the connection.
 o getPort()
Returns the port.
 o getType()
Returns the type.
 o hashCode()
Claculates a hash code value for the key.
 o setConnection(int)
Sets the connection.

Constructors

 o ComPointMailKey
 public ComPointMailKey()
Constructor without args

 o ComPointMailKey
 public ComPointMailKey(int type,
                        int port,
                        int connection)
Creats a ComPointMailKey.

Parameters:
port - server port through which the connection was opened.
connection - connection number

Methods

 o getType
 public int getType()
Returns the type.

 o getPort
 public int getPort()
Returns the port.

 o getConnection
 public int getConnection()
Returns the connection.

 o setConnection
 public void setConnection(int connection)
Sets the connection.

 o equals
 public boolean equals(Object key)
Indicates whether some other key is "equal to" this one.

Parameters:
key - the reference key with which to compare
Returns:
true if this object is the same as the key argument; false otherwise.
Overrides:
equals in class Object
 o hashCode
 public int hashCode()
Claculates a hash code value for the key.

Returns:
a hash code value for this key.
Overrides:
hashCode in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index