|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.dav.daf.communication.lowLevel.telegrams.DataTelegram
de.bsvrz.dav.daf.communication.lowLevel.telegrams.AuthentificationAnswer
public class AuthentificationAnswer
Nach der erfolgreichen Authentifizierung sendet der Datenverteiler ein AuthenficationAnswer-Telegram zurück
Field Summary |
---|
Constructor Summary | |
---|---|
AuthentificationAnswer()
|
|
AuthentificationAnswer(boolean successfullyAuthentified)
Dieser Konstruktor wird im Falle einer nicht erfolgreichen Authentifizierung verwendet. |
|
AuthentificationAnswer(long userId,
long applicationId,
long localeConfigurationId,
long localeDVId)
Dieser Konstruktor wird im Falle einer erfolgreichen Authentifizierung verwendet. |
Method Summary | |
---|---|
long |
getApplicationId()
Gibt die ID der Applikation zurück. |
long |
getLocaleConfigurationId()
Gibt die lokale Konfiguration-ID zurück. |
long |
getLocaleDVId()
Gibt die ID des lokalen Datenverteilers zurück. |
long |
getUserId()
Gibt die ID des Benutzers zurück. |
boolean |
isSuccessfullyAuthentified()
Gibt an, ob der Authentifizierungsvorgang erfolgreich war. |
String |
parseToString()
Gibt eine String-Repräsentation dieses Datensatzes zurück. |
void |
read(DataInputStream in)
Liest ein Telegramm vom übergegebenen DataInputStream. |
void |
write(DataOutputStream out)
Schreibt ein Telegramm in den übergegebenen DataOutputStream. |
Methods inherited from class de.bsvrz.dav.daf.communication.lowLevel.telegrams.DataTelegram |
---|
getLength, getPriority, getSize, getTelegram, getType, toShortDebugParamString, toShortDebugString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthentificationAnswer()
public AuthentificationAnswer(long userId, long applicationId, long localeConfigurationId, long localeDVId)
userId
- die ID des BenutzersapplicationId
- die ID der anfragenden ApplikationlocaleConfigurationId
- die ID der lokalen KonfigurationlocaleDVId
- die ID des lokalen Datenverteilerspublic AuthentificationAnswer(boolean successfullyAuthentified)
successfullyAuthentified
- false
, wenn die Authentifizierung nicht erfolgreich war. true
wird nicht beachtet.Method Detail |
---|
public final long getUserId()
public final long getApplicationId()
public final long getLocaleConfigurationId()
public final long getLocaleDVId()
public final boolean isSuccessfullyAuthentified()
true
, falls die Authentifizierung erfolgreich war, sonst false
public final String parseToString()
DataTelegram
parseToString
in class DataTelegram
public final void write(DataOutputStream out) throws IOException
DataTelegram
write
in class DataTelegram
out
- Der DataOutputStream.
IOException
- Falls der Datensatz nicht in den Stream geschrieben werden kann.public final void read(DataInputStream in) throws IOException
DataTelegram
read
in class DataTelegram
in
- Der DataInputStream.
IOException
- Falls der Datensatz nicht aus dem Stream gelesen werden kann.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |