All Packages Class Hierarchy This Package Previous Next Index
Class tc.message.OpenDatabaseMessage
java.lang.Object
|
+----connection.Message
|
+----tc.message.OpenDatabaseMessage
- public class OpenDatabaseMessage
- extends Message
OpenDatabaseMessage is a specialized message for sending a request for a
database connection.
- Version:
- 0.30, 1998/04/01
- Author:
- FRED development team, Antti Viljamaa, Jukka Viljamaa
- See Also:
- Message
-
passwd
- The user's (encrypted) password as a byte array.
-
userID
- The user id (user name) as a string.
-
OpenDatabaseMessage(byte, String, byte[])
- Initializes a new OpenDatabaseMessage object with the given message id,
user id, and password.
-
OpenDatabaseMessage(String, byte[])
- Initializes a new OpenDatabaseMessage object with the given
user id and password.
-
getPasswd()
- Gets the user's (encrypted) password as a byte array.
-
getUserID()
- Sets the user id (user name) as a string.
-
setPasswd(byte[])
- Sets the user's (encrypted) password as a byte array.
-
setUserID(String)
- Sets the user id (user name) as a string.
passwd
private byte passwd[]
- The user's (encrypted) password as a byte array.
userID
private String userID
- The user id (user name) as a string.
OpenDatabaseMessage
public OpenDatabaseMessage(byte id,
String userID,
byte passwd[])
- Initializes a new OpenDatabaseMessage object with the given message id,
user id, and password.
- Parameters:
- id - The optional message id. The user can use this
field to separate different messages that
use this same class.
- userID - The user id (user name) as a string.
- password - The user's (encrypted) password as a byte array.
OpenDatabaseMessage
public OpenDatabaseMessage(String userID,
byte passwd[])
- Initializes a new OpenDatabaseMessage object with the given
user id and password.
- Parameters:
- userID - The user id (user name) as a string.
- password - The user's (encrypted) password as a byte array.
getPasswd
public byte[] getPasswd()
- Gets the user's (encrypted) password as a byte array.
getUserID
public String getUserID()
- Sets the user id (user name) as a string.
setPasswd
public void setPasswd(byte pw[])
- Sets the user's (encrypted) password as a byte array.
setUserID
public void setUserID(String s)
- Sets the user id (user name) as a string.
All Packages Class Hierarchy This Package Previous Next Index