Exemplo n.º 1
0
 public void switchToProtocol(Protocol p) {
   if (p == null) {
     _currentProtocol = null;
     _clientTab.changeFamilly(null);
     _serverTab.changeFamilly(null);
   } else {
     _currentProtocol = p;
     _clientTab.changeFamilly(p.getClientPacketsFamilly());
     _serverTab.changeFamilly(p.getServerPacketsFamilly());
   }
 }