Wednesday, August 29, 2018

Cettia Java Server 1.1.0 Released: A Predicate to Match Sockets and More

We are happy to announce that the 1.1.0 release of Cettia Java Server is now generally available. In this release, various useful features have been added which make a real-time web application development much easier. Here are the key highlights of Cettia Java Server 1.1.

  • A predicate to match sockets.
    • Server find(ServerSocketPredicate predicate, SerializableAction<ServerSocket> action) in Server
    • Sentence find(ServerSocketPredicate predicate) in Server
  • A sentence accepts a socket action.
    • Sentence execute(SerializableAction<ServerSocket> action) in Sentence
  • A socket's attributes.
    • <T> T get(String name) in ServerSocket
    • ServerSocket set(String name, Object value) in ServerSocket
    • ServerSocket remove(String name) in ServerSocket
  • A socket identifier.
    • String id() in ServerSocket

Before walking through each feature in a summary of the starter kit, I would like to thank Ralph, who has created and maintained cettia-demo, for sharing his ideas that have driven the development of 1.1. As always, Cettia is an open source project for the community by the community. Feel free to join the community and share your thoughts.



from DZone.com Feed https://ift.tt/2N45tGQ

No comments:

Post a Comment