package com.muwire.core.connection

import com.muwire.core.Event

import net.i2p.data.Destination

class ConnectionEvent extends Event {

    Endpoint endpoint
    boolean incoming
    Boolean leaf // can be null if uknown
    ConnectionAttemptStatus status

    @Override
    public String toString() {
        "ConnectionEvent ${super.toString()} endpoint: $endpoint incoming: $incoming leaf : $leaf status : $status"
    }

}
