Package asjava.uniobjects

Examples of asjava.uniobjects.UniSession


    public void testSocket() throws Exception {
        System.out.println("Connecting to unidata...");

        System.out.println("testSocket");
        UniSession uSession = new UniSession();
        int port = uSession.connection.getPort();
        System.out.println("Testing connection to " + SERVER_ADDRESS + " on port " + port + "...");
        Socket test_socket = new Socket(SERVER_ADDRESS, port);
        if (test_socket.isConnected()) {
            System.out.println("Connection successful");
View Full Code Here

TOP

Related Classes of asjava.uniobjects.UniSession

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.