- 授权协议: Apache
- 开发语言: Objective-C Ruby
- 操作系统: OS X
- 软件首页: https://github.com/acmacalister/jetfire
软件介绍
jetfire 是使用 Objective-C 实现了 iOS 和 OS X 的 Websockets(RFC 6455)。
同时还有个 Swift 版本的:starscream
特性:
符合所有基础的 Autobahn 测试套件.
非阻塞。所有都在后台运行
简单的委托模式设计
TLS/WSS 支持
几百行简单的 LOC 代码
示例:
/////////////////////////////////////////////////////////////////////////////
-(void)websocketDidConnect:(JFWebSocket*)socket
{
NSLog(@"websocket is connected");
}
/////////////////////////////////////////////////////////////////////////////
-(void)websocketDidDisconnect:(JFWebSocket*)socket error:(NSError*)error
{
NSLog(@"websocket is disconnected: %@",[error localizedDescription]);
}
/////////////////////////////////////////////////////////////////////////////
-(void)websocket:(JFWebSocket*)socket didReceiveMessage:(NSString*)string
{
NSLog(@"got some text: %@",string);
dispatch_async(dispatch_get_main_queue(),^{
//do some UI work
});
}
/////////////////////////////////////////////////////////////////////////////
-(void)websocket:(JFWebSocket*)socket didReceiveData:(NSData*)data
{
NSLog(@"got some binary data: %d",data.length);
}
Large-Scale Inference
Bradley Efron / Cambridge University Press / 2010-8-5 / GBP 48.00
We live in a new age for statistical inference, where modern scientific technology such as microarrays and fMRI machines routinely produce thousands and sometimes millions of parallel data sets, each ......一起来看看 《Large-Scale Inference》 这本书的介绍吧!
