org.apache.directory.server.kerberos.shared.messages
Class KerberosMessage

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.messages.KerberosMessage
Direct Known Subclasses:
ApplicationReply, ApplicationRequest, CredentialMessage, EncApRepPart, EncKrbPrivPart, ErrorMessage, KdcReply, KdcRequest, PrivateMessage, SafeMessage

public class KerberosMessage
extends java.lang.Object

Version:
$Rev: 540371 $, $Date: 2007-05-21 20:00:43 -0400 (Mon, 21 May 2007) $
Author:
Apache Directory Project

Field Summary
static int PVNO
          The Kerberos protocol version number (5).
 
Constructor Summary
KerberosMessage(int versionNumber, MessageType type)
          Creates a new instance of KerberosMessage.
KerberosMessage(MessageType type)
          Creates a new instance of KerberosMessage.
 
Method Summary
 MessageType getMessageType()
          Returns the MessageType.
 int getProtocolVersionNumber()
          Returns the protocol version number.
 void setMessageType(MessageType type)
          Sets the MessageType.
 void setProtocolVersionNumber(int versionNumber)
          Sets the protocol version number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PVNO

public static final int PVNO
The Kerberos protocol version number (5).

See Also:
Constant Field Values
Constructor Detail

KerberosMessage

public KerberosMessage(MessageType type)
Creates a new instance of KerberosMessage.

Parameters:
type -

KerberosMessage

public KerberosMessage(int versionNumber,
                       MessageType type)
Creates a new instance of KerberosMessage.

Parameters:
versionNumber -
type -
Method Detail

getMessageType

public MessageType getMessageType()
Returns the MessageType.

Returns:
The MessageType.

setMessageType

public void setMessageType(MessageType type)
Sets the MessageType.

Parameters:
type -

getProtocolVersionNumber

public int getProtocolVersionNumber()
Returns the protocol version number.

Returns:
The protocol version number.

setProtocolVersionNumber

public void setProtocolVersionNumber(int versionNumber)
Sets the protocol version number.

Parameters:
versionNumber -


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.