Package de.dermoba.srcp.common

Examples of de.dermoba.srcp.common.SocketReader


    public CommandChannel(String pServerName, int pServerPort)
            throws SRCPException {
        try {
            socket = new Socket(pServerName, pServerPort);
            out = new SocketWriter(socket);
            in = new SocketReader(socket);
            listeners = new HashSet<CommandDataListener>();

        } catch (UnknownHostException e) {
            throw new SRCPHostNotFoundException();
        } catch (IOException e) {
View Full Code Here


    public void connect() throws SRCPException {
        try {
            socket = new Socket(serverName, serverPort);
            out = new SocketWriter(socket);
            in = new SocketReader(socket);

            infoThread = new Thread(this);
            infoThread.setDaemon(true);
            infoThread.start();
View Full Code Here

TOP

Related Classes of de.dermoba.srcp.common.SocketReader

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.