smart-socket v1.4.2 release, daily updates and bug fixes

smart-socket is a domestic open-source Java AIO framework, the pursuit of the amount of code, performance, stability, and all aspects of interface design to achieve the ultimate. If the smart-socket a hint to help, please look at our Star project and keep up to you; if you are not satisfied with smart-socket, that like him some patience, smart-socket has been trying to get better.

update content

  1. New Interface WriteBuffer # writeShort, WriteBuffer # writeByte, support the value of the output of different types.
  2. New WriteBuffer # writeAndFlush, promptly flush the buffer after writing content, see the API.
  3. Outdated WriteBuffer # write (int b) interface. The interface inherited from OutputStream, because call-byte interface specification is written according to the eight low parameter b, b of 24 high will be ignored. Incoming easily use the interface to the data within the non-byte range, and the more likely the actual interface definition of ambiguity, it is suggested that the method discarded, selection WriteBuffer # writeByte (byte) as an alternative interface.
  4. bugfix: fix multithreading "buffer has cleaned" log alarms that may occur when a session on the same data concurrently output. Thanks to smart-socket group Friends: listen to your breathing in injury feedback the problem.

Maven address

<!-- https://mvnrepository.com/artifact/org.smartboot.socket/aio-core -->
<dependency>
    <groupId>org.smartboot.socket</groupId>
    <artifactId>aio-core</artifactId>
    <version>1.4.2</version>
</dependency>

Guess you like

Origin www.oschina.net/news/108494/smart-socket-1-4-2-released