public Map getMetadata(String sessionID) { Map map = null; if (offerMap.get(sessionID) != null) { Offer offer = (Offer)offerMap.get(sessionID); map = offer.getMetaData(); } else if (inviteMap.get(sessionID) != null) { map = (Map)inviteMap.get(sessionID); } return map; }
public void offerReceived(final Offer offer) { SwingUtilities.invokeLater(new Runnable() { public void run() { handleOffer(offer); } }); }
public Offer getOffer() { return offer; }