}
}
private PeerGroup createGroup() //This method will Create SaEeD group :-)
{
printOnLog("[+]Criando novo grupo...\n");
PeerGroup myNewGroup = null;
try{
//specifying advertisement for group and configure group, then publish it
//Advertisement for remote peers
ModuleImplAdvertisement myMIA = netPeerGroup.getAllPurposePeerGroupImplAdvertisement();
myNewGroup = netPeerGroup.newGroup(getGID(),
myMIA,
"EsPeTaCGrupo",
"EsPeTaC P2P File Sharing Application");
EsPeTaCAdv = myNewGroup.getPeerGroupAdvertisement();
//publishing new group advertisements
myDiscoveryService.publish(EsPeTaCAdv);
myDiscoveryService.remotePublish(EsPeTaCAdv);
printOnLog("[+]Novo grupo de PEERS criado com sucesso:-)\n");
printOnLog("[+]Publicando novos anúncios de grupos de PEERS.\n");