Package com.jitlogic.zorka.common.tracedata

Examples of com.jitlogic.zorka.common.tracedata.HelloRequest


     * @param auth     client pass phrase (only if server is working in secure mode);
     * @throws IOException if connection breaks, client authentication error or other error occurs
     */
    public void hello(String hostname, String auth) throws IOException {
        send(ZICO_HELLO, ZicoCommonUtil.pack(
                new HelloRequest(System.currentTimeMillis(), hostname, auth)));
        ZicoPacket pkt = recv();
        switch (pkt.getStatus()) {
            case ZICO_OK:
                return;
            case ZICO_AUTH_ERROR:
View Full Code Here

TOP

Related Classes of com.jitlogic.zorka.common.tracedata.HelloRequest

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.