Package org.apache.mina.registry

Examples of org.apache.mina.registry.Service


        for( port = 1; port <= 65535; port ++ )
        {
            socketBound = false;
            datagramBound = false;
           
            Service socketService = new Service( "echo", TransportType.SOCKET, port );
            Service datagramService = new Service( "echo", TransportType.DATAGRAM, port );
           
            try
            {
                registry.bind( socketService, new EchoProtocolHandler() );
                socketBound = true;
View Full Code Here

TOP

Related Classes of org.apache.mina.registry.Service

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.