All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.robocode.tankroyale.botapi.events.ConnectionEvent Maven / Gradle / Ivy

There is a newer version: 0.26.1
Show newest version
package dev.robocode.tankroyale.botapi.events;

import java.net.URI;

/**
 * Base class of all connection events.
 */
abstract class ConnectionEvent implements IEvent {

    // URI of the server.
    private final URI serverUri;

    /**
     * Initializes a new instance of the ConnectionEvent class.
     *
     * 

param serverUrl is the URI of the server. */ protected ConnectionEvent(URI serverUri) { this.serverUri = serverUri; } /** * Return the URI of the server. * * @return the URI of the server. */ public URI getServerUri() { return serverUri; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy