Exemplo n.º 1
0
 @Override
 protected void onReceivedMsg(String peerMsg, Address sender, String contentType) {
   // TODO Auto-generated method stub
   super.onReceivedMsg(peerMsg, sender, contentType);
   System.out.println("onReceivedMsg: " + peerMsg);
 }
Exemplo n.º 2
0
 @Override
 protected void onReceivedJSONMsg(JSONObject jsonMsg, Address sender) {
   // TODO Auto-generated method stub
   super.onReceivedJSONMsg(jsonMsg, sender);
 }