Glacier::Starter

Overview

interface Starter

The Glacier router starter.

Operation Index

getSliceChecksums

Returns the checksums for the Glacier Slice definitions.

startRouter

Start a new Glacier router.

getSliceChecksums

::Ice::SliceChecksumDict getSliceChecksums();

Returns the checksums for the Glacier Slice definitions.

Return Value

A dictionary mapping Slice type ids to their checksums.

startRouter

Router* startRouter(string userId,
    string password,
    out ::Ice::ByteSeq privateKey,
    out ::Ice::ByteSeq publicKey,
    out ::Ice::ByteSeq routerCert)
    throws
	PermissionDeniedException,
	CannotStartRouterException;

Start a new Glacier router. If the password for the given user id is incorrect, or if the user isn't allowed access, an PermissionDeniedException is raised. Otherwise a new router is started, and a proxy to that router is returned to the caller.

Parameters

userId

The user id for which to check the password.

password

The password for the given user id.

privateKey

The RSA Private Key (DER encoded) for the client to use. (Only for SSL.)

publicKey

The RSA Public Key (DER encoded) for the client to use. (Only for SSL.)

routerCert

The trusted certificate of the router. (Only for SSL.)

Return Value

A proxy to the router that has been started.

Exceptions

PermissionDeniedException

Raised if the password for the given user id is not correct or if the user isn't allowed access.