/** * Called internally when a new connection has been added so that the * services can be notified. */ protected void addConnection( HostedConnection hc ) { for( Service s : getServices() ) { ((HostedService)s).connectionAdded(server, hc); } }
/** * Called internally when a connection has been removed so that the * services can be notified. */ protected void removeConnection( HostedConnection hc ) { for( Service s : getServices() ) { ((HostedService)s).connectionRemoved(server, hc); } }
/** * Called internally when a connection has been removed so that the * services can be notified. */ protected void removeConnection( HostedConnection hc ) { for( Service s : getServices() ) { ((HostedService)s).connectionRemoved(server, hc); } }
/** * Called internally when a new connection has been added so that the * services can be notified. */ protected void addConnection( HostedConnection hc ) { for( Service s : getServices() ) { ((HostedService)s).connectionAdded(server, hc); } }