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
-
ComPointMailKey()
- Constructor without args
-
ComPointMailKey(int, int, int)
- Creats a ComPointMailKey.
-
equals(Object)
- Indicates whether some other key is "equal to" this one.
-
getConnection()
- Returns the connection.
-
getPort()
- Returns the port.
-
getType()
- Returns the type.
-
hashCode()
- Claculates a hash code value for the key.
-
setConnection(int)
- Sets the connection.
ComPointMailKey
public ComPointMailKey()
- Constructor without args
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
getType
public int getType()
- Returns the type.
getPort
public int getPort()
- Returns the port.
getConnection
public int getConnection()
- Returns the connection.
setConnection
public void setConnection(int connection)
- Sets the connection.
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
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