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

HelloRequest

public class HelloRequest extends org.apache.harmony.xnet.provider.jsse.Message
Represents Hello Request message
see
TLS 1.0 spec., 7.4.1.1. Hello request

Fields Summary
Constructors Summary
public HelloRequest()
Creates outbound message

    
public HelloRequest(org.apache.harmony.xnet.provider.jsse.HandshakeIODataStream in, int length)
Creates inbound message

param
in
param
length
throws
IOException

        if (length != 0) {
            fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect HelloRequest");
        }
    
Methods Summary
public intgetType()
Returns message type

return

        return Handshake.HELLO_REQUEST;
    
public intlength()

        return 0;
    
public voidsend(org.apache.harmony.xnet.provider.jsse.HandshakeIODataStream out)
Sends message

param
out