package com.github.noxan.aves.server;

import java.util.Set;

import com.github.noxan.aves.net.Connection;


public interface Server {
    public String getHost();

    public int getPort();

    public void start();

    void offerEvent(ServerEvent type, Object data);

    public Set<Connection> getConnections();
}

package com.github.noxan.aves.server;

import java.util.Set;

import com.github.noxan.aves.net.Connection;


public interface Server {
    public String getHost();

    public int getPort();

    public void start();

    public void offerEvent(ServerEvent type, Object data);

    public Set<Connection> getConnections();
}

add public modifiert to offerEvent in server interface