Back to project page RealtimeMessaging-Android.
The source code is released under:
MIT License
If you think the Android project RealtimeMessaging-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ibt.ortc.extensibility; //from www . j a v a 2 s . c om /** * Enumerates the websocket connection protocols * * @version 2.1.0 27 Mar 2013 * @author IBT */ public enum ConnectionProtocol { /** * Represents a secure connection */ Secure("wss"), /** * Represents a unsecure connection */ Unsecure("ws"); private ConnectionProtocol(String protocol){ this.protocol = protocol; } private String protocol; public String getProtocol(){ return this.protocol; } }