Java 类org.jivesoftware.smack.sm.packet.StreamManagement.StreamManagementFeature 实例源码

项目:Smack    文件:StreamManagementStreamFeatureProvider.java   
@Override
public StreamManagementFeature parse(XmlPullParser parser,
                int initialDepth) {
    return StreamManagementFeature.INSTANCE;
}
项目:Smack    文件:XMPPTCPConnection.java   
/**
 * Returns true if Stream Management is supported by the server.
 *
 * @return true if Stream Management is supported by the server.
 */
public boolean isSmAvailable() {
    return hasFeature(StreamManagementFeature.ELEMENT, StreamManagement.NAMESPACE);
}
项目:androidclient    文件:XMPPTCPConnection.java   
/**
 * Returns true if Stream Management is supported by the server.
 *
 * @return true if Stream Management is supported by the server.
 */
public boolean isSmAvailable() {
    return hasFeature(StreamManagementFeature.ELEMENT, StreamManagement.NAMESPACE);
}