protocol.core
Class HandshakeFrame

java.lang.Object
  extended by protocol.core.Frame
      extended by protocol.core.HandshakeFrame

public class HandshakeFrame
extends Frame

Classe do frame de negociaçãoo de conexão

Author:
Leonardo Fernandes

Field Summary
 
Fields inherited from class protocol.core.Frame
APPLICATION, HANDSHAKE, SIGNAL
 
Constructor Summary
HandshakeFrame(int length, java.lang.String description, byte checksum)
          Construtor do frame
 
Method Summary
 java.lang.String getDescription()
           
 void setDescription(java.lang.String description)
           
 
Methods inherited from class protocol.core.Frame
getId, getLength, setId, setLength
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandshakeFrame

public HandshakeFrame(int length,
                      java.lang.String description,
                      byte checksum)
Construtor do frame

Parameters:
length - Quantidade de bytes
description - Conteúdo recebido
checksum - Soma de verificação do frame
Method Detail

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)