*/
public final Destination[] getDestinations(int serverId) throws ConnectException, AdminException {
Destination[] dest = null;
GetDestinationsRequest request = new GetDestinationsRequest(serverId);
GetDestinationsReply reply = (GetDestinationsReply) doRequest(request);
String[] ids = reply.getIds();
if ((ids != null) && (ids.length > 0)) {
String[] names = reply.getNames();
byte[] types = reply.getTypes();
dest = new Destination[ids.length];
for (int i=0; i<ids.length; i++) {
dest[i] = Destination.newInstance(ids[i], names[i], types[i]);
}