| Home | Trees | Index | Help |
|
|---|
| Package AccessGrid :: Module VenueServer :: Class VenueServerI |
|
SOAPInterface --+
|
AuthorizationManagerI --+
|
AuthorizationIMixIn --+
|
SOAPInterface --+
|
VenueServerI
| Method Summary | |
|---|---|
The server side interface object. | |
LEGACY CALL: This is replace by GetAuthorizationManager. | |
Inteface call for Adding a venue. | |
Interface to checkpoint the Venue Server. | |
Dump debug info. | |
Interface for getting the Address Allocation Method. | |
Interface to retrieve the address mask of the address allocation pool. | |
LEGACY CALL: This is replace by GetAuthorizationManager. | |
Interface to retrieve the value of the backup server name. | |
Interface to retrieve the base address for the address allocation pool. | |
Interface for getting the URL to the default venue. | |
Interface to retrieve the value of the media encryption flag. | |
Inteface for getting the current data store path. | |
This is the interface to get a list of Venues from the Venue Server. | |
Interface for modifying an existing Venue. | |
Interface method to regenerate all encryption keys for all venues on this server. | |
LEGACY CALL: This is replace by GetAuthorizationManager. | |
Interface for removing a Venue. | |
Interface for setting the address allocation method for multicast addresses (for now). | |
Interface to set the network mask of the address allocation pool. | |
Interface for setting a fallback venue server. | |
Interface for setting the base address for the allocation pool. | |
Interface to set default venue. | |
Interface for setting the flag to encrypt all media or turn it off. | |
Interface for setting the location of the data store. | |
Interface to shutdown the Venue Server. | |
| Inherited from AuthorizationIMixIn | |
Accessor to retrieve the authorization manager from the mixin. | |
| Inherited from AuthorizationManagerI | |
Add an action to the authorization manager. | |
Add a role to the authorization manager. | |
Add multiple roles to an action. | |
Add a role to the specified action. | |
Add a subject to a particular role. | |
Find a role in this authorization manager. | |
Retrieve the policy. | |
Get the list of roles the subject is a part of. | |
Import policy. | |
Check to see if the subject authorized for the action. | |
List the actions known by this authorization manager. | |
Retrieve the entire list of Roles. | |
List subjects that are in a specific role. | |
Remove an action from the authorization manager. | |
Remove a role from the authorization manager. | |
Remove a Role from the action. | |
Remove multiple subjects from the role. | |
A test call that verifies the policy can be imported and exported without modification. | |
| Inherited from SOAPInterface | |
This method is here to support calls that just want to see if there is a valid server endpoint for communication from the client. | |
This method is here to support calls that just want to see if there is a valid server endpoint for communication from the client. | |
| Method Details |
|---|
__init__(self,
impl)
The server side interface object. This gets an implementation to
initialize itself with.
|
AddAdministrator(self, subjStr)LEGACY CALL: This is replace by GetAuthorizationManager. Interface to add an administrator to the Venue Server. **Arguments:** *subjStr* The DN of the new administrator. **Raises:** **Returns:** *subjStr* The DN of the administrator added. |
AddVenue(self, venueDescStruct)
Inteface call for Adding a venue.
**Arguments:**
*Venue Description Struct* A description of the new
venue, currently an anonymous struct.
**Raises:**
*VenueServerException* When the venue description struct
isn't successfully converted to a real venue description
object and the venue isn't added.
**Returns:**
*Venue URI* Upon success a uri to the new venue is returned.
|
Checkpoint(self)Interface to checkpoint the Venue Server. **Arguments:** **Raises:** **Returns:** |
DumpDebugInfo(self, flag=None)Dump debug info. The 'flag' argument is not used now, but could be used later to control the dump |
GetAddressAllocationMethod(self)
Interface for getting the Address Allocation Method.
**Arguments:**
**Raises:**
**Returns:**
*method* The address allocation method configured, either
RANDOM or INTERVAL.
|
GetAddressMask(self)
Interface to retrieve the address mask of the address allocation pool.
**Arguments:**
**Raises:**
**Returns:**
*mask* the network mask of the address allocation pool.
|
GetAdministrators(self)LEGACY CALL: This is replace by GetAuthorizationManager. GetAdministrators returns a list of adminisitrators for this VenueServer. |
GetBackupServer(self)
Interface to retrieve the value of the backup server name.
**Arguments:**
**Raises:**
**Returns:**
the string hostname of the back up server or "".
|
GetBaseAddress(self)
Interface to retrieve the base address for the address allocation pool.
**Arguments:**
**Raises:**
**Returns:**
*base address* the base address of the address allocation pool.
|
GetDefaultVenue(self)Interface for getting the URL to the default venue. |
GetEncryptAllMedia(self)Interface to retrieve the value of the media encryption flag. **Arguments:** **Raises:** **Returns:** |
GetStorageLocation(self)
Inteface for getting the current data store path.
**Arguments:**
**Raises:**
**Returns:**
*location* The path to the data store location.
|
GetVenues(self)
This is the interface to get a list of Venues from the Venue Server.
**Returns:**
*venue description list* A list of venues descriptions.
|
ModifyVenue(self, URL, venueDescStruct)
Interface for modifying an existing Venue.
**Arguments:**
*URL* The URL to the venue.
*Venue Description Struct* An anonymous struct that is the
new venue description.
**Raises:**
*InvalideVenueURL* When the URL isn't a valid venue.
*InvalidVenueDescription* If the Venue Description has a
different URL than the URL argument passed in.
|
RegenerateEcryptionKeys(self)Interface method to regenerate all encryption keys for all venues on this server. |
RemoveAdministrator(self, string)LEGACY CALL: This is replace by GetAuthorizationManager. **Arguments:** *string* The Distinguished Name (DN) of the administrator being removed. **Raises:** **Returns:** *string* The Distinguished Name (DN) of the administrator removed. |
RemoveVenue(self, URL)
Interface for removing a Venue.
**Arguments:**
*URL* The url to the venue to be removed.
|
SetAddressAllocationMethod(self, method)
Interface for setting the address allocation method for
multicast addresses (for now).
**Arguments:**
*method* An argument specifying either RANDOM or INTERVAL
allocation. RANDOM is a random address from the standard
random range. INTERVAL means a random address from a
specified range.
**Raises:**
**Returns:**
|
SetAddressMask(self, mask)
Interface to set the network mask of the address allocation pool.
**Arguments:**
*mask* The network mask for the address allocation pool.
**Raises:**
**Returns:**
|
SetBackupServer(self, server)
Interface for setting a fallback venue server.
**Arguments:**
*server* The string hostname of the server.
**Raises:**
**Returns:**
*server* the return value from SetBackupServer
|
SetBaseAddress(self, address)
Interface for setting the base address for the allocation pool.
**Arguments:**
*address* The base address of the address pool to allocate from.
**Raises:**
**Returns:**
|
SetDefaultVenue(self, URL)
Interface to set default venue.
**Arguments:**
*URL* The URL to the default venue.
**Raises:**
**Returns:**
*URL* the url of the default venue upon success.
|
SetEncryptAllMedia(self, value)
Interface for setting the flag to encrypt all media or turn it off.
**Arguments:**
*value* The flag, 1 turns encryption on, 0 turns encryption off.
**Raises:**
**Returns:**
*flag* the return value from SetEncryptAllMedia.
|
SetStorageLocation(self, location)
Interface for setting the location of the data store.
**Arguments:**
*location* This is a path for the data store.
**Raises:**
**Returns:**
*location* The new location on success.
|
Shutdown(self, secondsFromNow)
Interface to shutdown the Venue Server.
**Arguments:**
*secondsFromNow* How long from the time the call is
received until the server starts to shutdown.
**Raises:**
**Returns:**
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Apr 14 16:39:26 2005 | http://epydoc.sf.net |