Live Sequence Protocol for Java
Implementation of LSP in Java language
 Todos Classes Namespaces Arquivos Funções Variáveis
InternalPack.java
Vá para a documentação deste arquivo.
1 package lsp;
2 
3 class InternalPack extends Pack {
4  private final LspConnection connection;
5  private final short seqNum;
6 
7  InternalPack(LspConnection conn, short seqNum, byte[] payload) {
8  super(conn.getId(), payload);
9  this.connection = conn;
10  this.seqNum = seqNum;
11  }
12 
14  return this.connection;
15  }
16 
17  short getSeqNum() {
18  return this.seqNum;
19  }
20 }
LspConnection getConnection()
InternalPack(LspConnection conn, short seqNum, byte[] payload)
Representa uma conexão LSP.