Repository
Interface AxisRepoQueryIF

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
AxisRepoQuery

public interface AxisRepoQueryIF
extends java.rmi.Remote

Interface of the Query and Notification Web Service.

Changes:

alexis.grandemange@pagebox.net

Copyright (c) 2002-2003 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library 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 Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 1, 1
Author:
Alexis Grandemange

Method Summary
 byte[] frameSend(byte[] frame)
          Send the frame to the next station on the adjacency list.
 byte[] GetSubscribers(java.lang.String archive)
          Query API.
 void Notify(java.lang.String archive, byte[] subscribers)
          Called by relay to notify the success or failure of a deployment.
 void NotifyFix(java.lang.String subscriber, byte[] archives)
          Called by Reinstall to change the archive status from PageBox err to installed.
 void tokenRegister(java.lang.String subscriber)
          Token management method.
 void tokenUnregister(java.lang.String subscriber)
          Token management method.
 

Method Detail

GetSubscribers

public byte[] GetSubscribers(java.lang.String archive)
                      throws java.rmi.RemoteException
Query API.

Parameters:
archive - archive name
Returns:
serialized array of AuthSub objects
Throws:
java.rmi.RemoteException

Notify

public void Notify(java.lang.String archive,
                   byte[] subscribers)
            throws java.rmi.RemoteException
Called by relay to notify the success or failure of a deployment.

Parameters:
archive - archive name
Throws:
java.rmi.RemoteException

NotifyFix

public void NotifyFix(java.lang.String subscriber,
                      byte[] archives)
               throws java.rmi.RemoteException
Called by Reinstall to change the archive status from PageBox err to installed.

Parameters:
subscriber - PageBox whose setting pb was fixed
Throws:
java.rmi.RemoteException

frameSend

public byte[] frameSend(byte[] frame)
                 throws java.rmi.RemoteException
Send the frame to the next station on the adjacency list.

Parameters:
frame - serialized sent frame
Returns:
serialized status object
Throws:
java.rmi.RemoteException

tokenRegister

public void tokenRegister(java.lang.String subscriber)
                   throws java.rmi.RemoteException
Token management method. Inserts a PageBox on the ring.

Parameters:
subscriber - PageBox whose setting pb was fixed
Throws:
java.rmi.RemoteException

tokenUnregister

public void tokenUnregister(java.lang.String subscriber)
                     throws java.rmi.RemoteException
Token management method. Removes a PageBox from the ring.

Parameters:
subscriber - PageBox whose setting pb was fixed
Throws:
java.rmi.RemoteException