Java 类org.jivesoftware.smackx.workgroup.agent.Offer 实例源码

项目:spark-svn-mirror    文件:Workpane.java   
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;
}
项目:spark-svn-mirror    文件:Workpane.java   
public void offerReceived(final Offer offer) {
    SwingUtilities.invokeLater(new Runnable() {
        public void run() {
            handleOffer(offer);
        }
    });
}
项目:spark-svn-mirror    文件:ChatQueue.java   
public Offer getOffer() {
    return offer;
}