FileDocCategorySizeDatePackage
Message.javaAPI DocAndroid 1.5 API2062Wed May 06 22:41:06 BST 2009org.apache.harmony.xnet.provider.jsse

Message

public abstract class Message extends Object
Base class for handshake messages

Fields Summary
protected int
length
Constructors Summary
Methods Summary
protected voidfatalAlert(byte description, java.lang.String reason)
Sends fatal alert

param
description
param
reason

        throw new AlertException(description, new SSLHandshakeException(reason));
    
protected voidfatalAlert(byte description, java.lang.String reason, java.lang.Throwable cause)
Sends fatal alert

param
description
param
reason
param
cause

        throw new AlertException(description, new SSLException(reason, cause));
    
abstract intgetType()
Returns message type

return

public intlength()
Returns message length

return

        return length;
    
abstract voidsend(HandshakeIODataStream out)
Sends message

param
out