# The Java Embedded Database Class HAChannelInfo

HAChannelInfo defines an eXtremeDB High Availability communications channel.

### For an overview see page Java Database Class

### Class Definition

        public static class HAChannelInfo
        {
            public String  protocolType;
            public long    bytesSent;
            public long    bytesRcvd;
            public boolean supportUnreliable;

            public boolean asyncMode;

            public HAChannelInfo(String protocolType,
                long bytesSent,
                long bytesRcvd,
                boolean supportUnreliable,

       	    boolean asyncMode)
            {
                this.protocolType = protocolType;
                this.bytesSent = bytesSent;
                this.bytesRcvd = bytesRcvd;
                this.supportUnreliable = supportUnreliable;

                this.asyncMode = asyncMode;
            }
        };

### Definitions:

`protocolType` | The network protocol type name
`bytesSent` | The number of bytes sent
`bytesRcvd` | The number of bytes received
`supportUnreliable` | True if the transport supports unreliable data transfer
asyncMode | True if the master is currently in the asynchronous mode