Package org.nustaq.net

Examples of org.nustaq.net.TCPObjectServer


* Created by ruedi on 22.08.14.
*/
public class TestObjectServer {

    public void server() throws IOException {
        TCPObjectServer server = new TCPObjectServer(5555);
        server.start( new TCPObjectServer.NewClientListener() {
            // for each client an own thread is created by default.
            // so no need to create a new Thread for the client here
            @Override
            public void connectionAccepted(TCPObjectSocket client) {
                try {
View Full Code Here

TOP

Related Classes of org.nustaq.net.TCPObjectServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.