src/main/java/com/alipay/remoting/Connection.java
private void init() {
        this.channel.attr(HEARTBEAT_COUNT).set(new Integer(0));
        this.channel.attr(PROTOCOL).set(this.protocolCode);
        this.channel.attr(VERSION).set(this.version);
        this.channel.attr(HEARTBEAT_SWITCH).set(true);
    }
private void init() {
        this.channel.attr(HEARTBEAT_COUNT).set(new Integer(0));
        this.channel.attr(PROTOCOL).set(this.protocolCode);
        this.channel.attr(VERSION).set(this.version);
        this.channel.attr(HEARTBEAT_SWITCH).set(true);
    }
private void init ( ) { this . channel . attr ( HEARTBEAT_COUNT ) . set ( new Integer ( 0 ) ) ; this . channel . attr ( PROTOCOL ) . set ( this . protocolCode ) ; this . channel . attr ( VERSION ) . set ( this . version ) ; this . channel . attr ( HEARTBEAT_SWITCH ) . set ( true ) ; }
Initialization.
Initialization .