Location:
Search - nio socket
Search list
Description: 一个基于事件驱动的JAVA NIO 服务器源码!-an event-driven based on the Java NIO server source code!
Platform: |
Size: 10240 |
Author: renminbi |
Hits:
Description: 著名服务器nio的源码,可以据此学习线程、网络Socket、文件流读写的知识。它采用了NIO的技术-Nio server well-known source, you can learn which thread, Network Socket, document flow of knowledge to read and write. It uses the NIO technology
Platform: |
Size: 36864 |
Author: 王迎 |
Hits:
Description: 使用JAVA NIO异步socket的多线程源代码-JAVA NIO asynchronous socket using the multi-threaded source code
Platform: |
Size: 399360 |
Author: vma |
Hits:
Description: java写socket通信工具,自己在07/08年写的用在一个项目中。拿出来供各位参考、学习用。-java Writing socket communication tools, their own Writing at 07/08 years of use in a project. Out for your reference, study with.
Platform: |
Size: 59392 |
Author: chengan |
Hits:
Description: java 的socket的通道编程的代码api,可以是需要的网络开发的人员浏览
Platform: |
Size: 263168 |
Author: |
Hits:
Description: java non-blocking socket programming
Platform: |
Size: 7168 |
Author: Hegen |
Hits:
Description: 实例化HashMap类型的一个对象用来存放每一个客户对应的套接字和通道,实例化线程通道选择器等,当由用户请求时,接受,加入选择项,注册感兴趣事件,另一线程处理输入流,在前面加echo:,发给客户端。-HashMap instance of an object type used to store the corresponding socket of each customer and channel, channel selector thread instantiation, etc., when the user request, accept, join the select items, registered interest in the event, another thread processing input stream, with the addition of echo:, to the client.
Platform: |
Size: 11264 |
Author: zhang liang |
Hits:
Description: java nio socket 源码是java nio 编程的例子,简单易学-java nio socket programming java nio source is an example, is easy to learn
Platform: |
Size: 2048 |
Author: weijk |
Hits:
Description: jdk供的无阻塞I/O(NIO)有效解决了多线程服务器存在的线程开销问题,但在使用上略显得复杂一些。在NIO中使用多线程,主要目的已不是为了应对每个客户端请求而分配独立的服务线程,而是通过多线程充分使用用多个CPU的处理能力和处理中的等待时间,达到提高服务能力的目的。
client多线程请求server端,server接收client的名字,并返回Hello! +名字的字符格式给client。当然实际应用并不这么简单,实际可能是访问文件或者数据库获取信息返回给client。-jdk for non-blocking I/O (NIO), an effective solution to the problem of multi-threaded server thread overhead, but too complicated to use minor. To use multiple threads, the main purpose is not to respond to each client request to allocate a separate service thread with multiple CPU processing power and processing wait time, but fully multi-threaded so as to enhance service capabilities in the NIO purpose. This time in the NIO, to write an article blog to remember the things you learned. Or from the most simple Hello World, multi-threaded the client requests the server side, the server receiving the client s name, and return to the Hello!+ The name of the character format to the client. Of course, the practical application is not so simple, the actual access to the file or database to obtain the information returned to the client. The non-blocking NIO What is the mystery?
Platform: |
Size: 165888 |
Author: 陈云凤 |
Hits:
Description: Java 7的NiO。2个地址的三个主要元素,提供新的输入/输出(I / O)在Java 7 API,给你写的强大的技能,可扩展的Java应用程序:*一个广泛的文件我/ O API系统地址特征要求开发商都要求自JDK的开始*一个套接字通道API地址的多播套接字绑定,与渠道,以及相关的问题*异步我/ O API可以映射到我/ O设施,完成端口,和各种各样的我/ O事件端口机制来提高可扩展性的NiO。2的Java平台,称为JSR 203,是一个主要特点的新的Java JDK 7的艾伦的领导下为OpenJDK项目-Pro Java 7 NIO.2 addresses the three primary elements that offer new input/output (I/O) APIs in Java 7, giving you the skills to write robust, scalable Java applications:* An extensive file I/O API system addresses feature requests that developers have sought since the inception of the JDK* A socket channel API addresses multicasting, socket binding associated with channels, and related issues* An asynchronous I/O API enables mapping to I/O facilities, completion ports, and various I/O event port mechanisms to enhance scalability NIO.2 for the Java platform, known as JSR 203, is a major feature of the new Java JDK 7 under the leadership of Alan Bateman as an OpenJDK project.
Platform: |
Size: 3738624 |
Author: daishuai |
Hits:
Description: 从Java 1.7 以后NIO可以采用系统底层的Socket来实现了,大大提高了吞吐量。
相比Reactor方式,Nio2可以称为Proactor方式的实现。具体是程序避免等待而采用回调函数类。-From Java 1.7 after NIO Socket can be used to achieve the underlying system, and greatly improving the throughput. Compared to Reactor way, Nio2 may be referred to achieve Proactor mode. Specifically procedures to avoid waiting while using a callback function class.
Platform: |
Size: 1024 |
Author: jiechuluck |
Hits:
Description: socket nio demo-socket nio demo。。。。。。。。。。。。。。。。。。。
Platform: |
Size: 49152 |
Author: 张家伦 |
Hits:
Description: netty jar nio socket网络编程-netty nio socket
Platform: |
Size: 701440 |
Author: hz |
Hits:
Description: 一个简单的使用java nio底层写的服务器-this is java server
Platform: |
Size: 31744 |
Author: 嗼小鱼 |
Hits:
Description: 即时消息通信客户端与服务器, 通过Nio Socket实现的非阻塞通信。-unblocked instancd message of nio socket
Platform: |
Size: 9216 |
Author: Lynderman |
Hits:
Description: TCP NIO socket TCP服务器,支持多个客户端连接-TCP NIO socket
Platform: |
Size: 5120 |
Author: Andy |
Hits:
Description: 实现android 客户端与
java 服务器 的socket通信 采用 mina NIO非阻塞模式 支持多线程-android java socket mina
Platform: |
Size: 8270848 |
Author: Eric_YAO |
Hits:
Description: libs:下是所依赖的jar包。
src:存放源代码。
sgip的配置中你需要修改(用户名 密码 接入号码 区号)前面3个都是联通分配给你的。
sgip.server.ip=
sgip.server.port=
sgip.client.nio=y 如果为y的话默认调用SGIPClient.sendMsg()时将采用NIO socket进行通信。
如果不为y将采用默认的Socket方式进行通信。 前者效率更高。(Libs: is the jar package on which it is dependent.
Src: stores the source code. The compiled jar package will not be provided. When you compile, remember to put the 2 configuration files in the Src.
There are 2 configuration issues under Src.)
Platform: |
Size: 845824 |
Author: 散步幽灵
|
Hits:
Description: IShareMessage是一个基于NIO的客户、服务器端编程框架,使用IShareMessage可以确保你快速和简单的开发出一个网络应用(包括推送服务,业务插件服务)。IShareMessage相当简化和流程化了TCP的socket网络应用的编程开发过程。通过利用云端与客户端之间建立稳定、可靠的长连接来为开发者提供客户端应用与平台交互通道,开发者只需关注业务开发,无须关注底层网络交互。(IShareMessage is a client and server-side programming framework based on NIO. Using IShareMessage ensures that you develop a network application (including push service, business plug-in service) quickly and simply. IShareMessage is quite simplified and streamlined the programming and developing process of the socket network application of TCP. By building a stable and reliable long connection between cloud and client to provide developers with interactive channels between client applications and platforms, developers only need to focus on business development without paying attention to the underlying network interaction.)
Platform: |
Size: 6144 |
Author: allenlei2008 |
Hits:
Description: 《NIO与Socket编程技术指南》_高洪岩(Technical guide for NIO and Socket programming)
Platform: |
Size: 11260928 |
Author: 龙领 |
Hits: