public void openStream() throws IOException {
        socket = new Socket(host, port);
        socketStream = socket.getOutputStream();
        if (null != context.get("name") && null != context.get("id")) {
            Object group = context.get("group");
            String desc = (null != group ? group + "/" : "") + context.get("name");
            write("Job started: " + desc + ": " + context.get("id"));
        }
        write("Execution: " + context.get("execid"));
    }
public void openStream ( ) throws IOException { socket = new Socket ( host , port ) ; socketStream = socket . getOutputStream ( ) ; if ( null != context . get ( "name" ) && null != context . get ( "id" ) ) { Object group = context . get ( "group" ) ; String desc = ( null != group ? group + "/" : "" ) + context . get ( "name" ) ; write ( "Job started: " + desc + ": " + context . get ( "id" ) ) ; } write ( "Execution: " + context . get ( "execid" ) ) ; }
Open a stream, called before addEntry is called