Interface Registrar

All Known Implementing Classes:
RegistrarImpl, RemoteRegistrar

public interface Registrar

Interface through which a bot updates the system. This is a privileged interface. It is to be exposed as a protected network service.

Babak Farhang

Method Summary
 LinkNode register(LinkNode node)
          Registers the given node.

Method Detail


public LinkNode register(LinkNode node)
                  throws IlaException
Registers the given node. The node's forelinks inherit backlinks to the given node; if any forelinks have been removed, then their corresponding backlinks are scheduled for removal. The State of the node is updated and returned.

The states of the node's forelinks (as known by the system) are returned on a best efforts basis; if the state of any of the node's forelinks cannot be ascertained immediately, then they are returned in the NF state.

node - the node encapsulating information parsed by a trusted bot
a LinkNode instance encapsulating the state of knowledge about the given node at this moment in time
IlaException - if an error occurs


Copyright (C) 2002 Babak Farhang

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.