C# 클래스 OpenSim.ApplicationPlugins.RemoteController.RemoteAdminPlugin

상속: IApplicationPlugin
파일 보기 프로젝트 열기: N3X15/VoxelSim

공개 메소드들

메소드 설명
Dispose ( ) : void
Initialise ( ) : void
Initialise ( OpenSimBase openSim ) : void
PostInitialise ( ) : void
XmlRpcAccessListAdd ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcAccessListClear ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcAccessListList ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcAccessListRemove ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcAlertMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcCloseRegionMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcCloseRegionMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini region_name desired region name region_id (optional) desired region UUID XmlRpcShutdownRegionMethod returns namedescription success true or false region_name the region name if success is true error error message if success is false
XmlRpcConsoleCommandMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcCreateRegionMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcCreateRegionMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini region_name desired region name region_id (optional) desired region UUID region_x desired region X coordinate (integer) region_y desired region Y coordinate (integer) estate_owner_first firstname of estate owner (formerly region master) (required if new estate is being created, optional otherwise) estate_owner_last lastname of estate owner (formerly region master) (required if new estate is being created, optional otherwise) estate_owner_uuid explicit UUID to use for estate owner (optional) listen_ip internal IP address (dotted quad) listen_port internal port (integer) external_address external IP address persist if true, persist the region info ('true' or 'false') public if true, the region is public ('true' or 'false') (optional, default: true) enable_voice if true, enable voice on all parcels, ('true' or 'false') (optional, default: false) estate_name the name of the estate to join (or to create if it doesn't already exist) region_file The name of the file to persist the region specifications to. If omitted, the region_file_template setting from OpenSim.ini will be used. (optional) XmlRpcCreateRegionMethod returns namedescription success true or false error error message if success is false region_uuid UUID of the newly created region region_name name of the newly created region
XmlRpcCreateUserMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcCreateUserMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini user_firstname avatar's first name user_lastname avatar's last name user_password avatar's password user_email email of the avatar's owner (optional) start_region_x avatar's start region coordinates, X value start_region_y avatar's start region coordinates, Y value XmlRpcCreateUserMethod returns namedescription success true or false error error message if success is false avatar_uuid UUID of the newly created avatar account; UUID.Zero if failed.
XmlRpcDeleteRegionMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcDeleteRegionMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini region_name desired region name region_id (optional) desired region UUID XmlRpcDeleteRegionMethod returns namedescription success true or false error error message if success is false
XmlRpcLoadHeightmapMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcLoadOARMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcLoadOARMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini filename file name of the OAR file region_uuid UUID of the region region_name region name region_uuid takes precedence over region_name if both are present; one of both must be present. XmlRpcLoadOARMethod returns namedescription success true or false error error message if success is false
XmlRpcLoadXMLMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcModifyRegionMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcModifyRegionMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini region_name desired region name region_id (optional) desired region UUID public if true, set the region to public ('true' or 'false'), else to private enable_voice if true, enable voice on all parcels of the region, else disable XmlRpcModifyRegionMethod returns namedescription success true or false error error message if success is false
XmlRpcRegionQueryMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcRestartMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcSaveOARMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcSaveOARMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini filename file name for the OAR file region_uuid UUID of the region region_name region name region_uuid takes precedence over region_name if both are present; one of both must be present. XmlRpcLoadOARMethod returns namedescription success true or false error error message if success is false
XmlRpcSaveXMLMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcShutdownMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
XmlRpcUpdateUserAccountMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcUpdateUserAccountMethod takes the following XMLRPC parameters (changeable ones are optional) parameter namedescription password admin password as set in OpenSim.ini user_firstname avatar's first name (cannot be changed) user_lastname avatar's last name (cannot be changed) user_password avatar's password (changeable) start_region_x avatar's start region coordinates, X value (changeable) start_region_y avatar's start region coordinates, Y value (changeable) about_real_world (not implemented yet) "about" text of avatar owner (changeable) about_virtual_world (not implemented yet) "about" text of avatar (changeable) XmlRpcCreateUserMethod returns namedescription success true or false error error message if success is false avatar_uuid UUID of the updated avatar account; UUID.Zero if failed.
XmlRpcUserExistsMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse XmlRpcUserExistsMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini user_firstname avatar's first name user_lastname avatar's last name XmlRpcCreateUserMethod returns namedescription user_firstname avatar's first name user_lastname avatar's last name user_lastlogin avatar's last login time (secs since UNIX epoch) success true or false error error message if success is false

비공개 메소드들

메소드 설명
ChangeUserPassword ( string firstName, string lastName, string password ) : bool

Change password

CheckIntegerParams ( Nwc.XmlRpc.XmlRpcRequest request, string param ) : void
CheckStringParameters ( Nwc.XmlRpc.XmlRpcRequest request, string param ) : void
CopyInventoryFolders ( UUID destination, UUID source, AssetType assetType, UUID>.Dictionary inventoryMap, AvatarAppearance avatarAppearance ) : void

This method is called by establishAppearance to copy inventory folders to make copies of Clothing and Bodyparts inventory folders and attaches worn attachments

CopyWearablesAndAttachments ( UUID destination, UUID source, AvatarAppearance avatarAppearance ) : void

This method is called by establishAppearance to do a copy all inventory items worn or attached to the Clothing inventory folder of the receiving avatar. In parallel the avatar wearables and attachments are updated.

CreateDefaultAvatars ( ) : bool

This method is called if a given model avatar name can not be found. If the external file has already been loaded once, then control returns immediately. If not, then it looks for a default appearance file. This file contains XML definitions of zero or more named avatars, each avatar can specify zero or more "outfits". Each outfit is a collection of items that together, define a particular ensemble for the avatar. Each avatar should indicate which outfit is the default, and this outfit will be automatically worn. The other outfits are provided to allow "real" avatars a way to easily change their outfits.

CreateUser ( UUID scopeID, string firstName, string lastName, string password, string email ) : UserAccount

Create a user

EstablishAppearance ( UUID destination, UUID source ) : void

This method is called by updateAvatarAppearance once any specified model has been ratified, or an appropriate default value has been adopted. The intended prototype is known to exist, as is the target avatar.

FailIfRemoteAdminDisabled ( string requestName ) : void
GetBoolean ( Hashtable requestData, string tag, bool defaultValue ) : bool
GetIntegerAttribute ( XmlNode node, string attribute, int defaultValue ) : int
GetStringAttribute ( XmlNode node, string attribute, string defaultValue ) : string
GetUnsignedAttribute ( XmlNode node, string attribute, uint defaultValue ) : uint
RemoteAdminOarSaveCompleted ( System.Guid uuid, string name ) : void
UpdateUserAppearance ( Hashtable responseData, Hashtable requestData, UUID userid ) : void

This method is called by the user-create and user-modify methods to establish or change, the user's appearance. Default avatar names can be specified via the config file, but must correspond to avatars in the default appearance file, or pre-existing in the user database. This should probably get moved into somewhere more core eventually.

shutdownTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Initialise() 공개 메소드

public Initialise ( ) : void
리턴 void

Initialise() 공개 메소드

public Initialise ( OpenSimBase openSim ) : void
openSim OpenSim.OpenSimBase
리턴 void

PostInitialise() 공개 메소드

public PostInitialise ( ) : void
리턴 void

XmlRpcAccessListAdd() 공개 메소드

public XmlRpcAccessListAdd ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcAccessListClear() 공개 메소드

public XmlRpcAccessListClear ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcAccessListList() 공개 메소드

public XmlRpcAccessListList ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcAccessListRemove() 공개 메소드

public XmlRpcAccessListRemove ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcAlertMethod() 공개 메소드

public XmlRpcAlertMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcCloseRegionMethod() 공개 메소드

XmlRpcCloseRegionMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini region_name desired region name region_id (optional) desired region UUID XmlRpcShutdownRegionMethod returns namedescription success true or false region_name the region name if success is true error error message if success is false
public XmlRpcCloseRegionMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcConsoleCommandMethod() 공개 메소드

public XmlRpcConsoleCommandMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcCreateRegionMethod() 공개 메소드

XmlRpcCreateRegionMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini region_name desired region name region_id (optional) desired region UUID region_x desired region X coordinate (integer) region_y desired region Y coordinate (integer) estate_owner_first firstname of estate owner (formerly region master) (required if new estate is being created, optional otherwise) estate_owner_last lastname of estate owner (formerly region master) (required if new estate is being created, optional otherwise) estate_owner_uuid explicit UUID to use for estate owner (optional) listen_ip internal IP address (dotted quad) listen_port internal port (integer) external_address external IP address persist if true, persist the region info ('true' or 'false') public if true, the region is public ('true' or 'false') (optional, default: true) enable_voice if true, enable voice on all parcels, ('true' or 'false') (optional, default: false) estate_name the name of the estate to join (or to create if it doesn't already exist) region_file The name of the file to persist the region specifications to. If omitted, the region_file_template setting from OpenSim.ini will be used. (optional) XmlRpcCreateRegionMethod returns namedescription success true or false error error message if success is false region_uuid UUID of the newly created region region_name name of the newly created region
public XmlRpcCreateRegionMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcCreateUserMethod() 공개 메소드

XmlRpcCreateUserMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini user_firstname avatar's first name user_lastname avatar's last name user_password avatar's password user_email email of the avatar's owner (optional) start_region_x avatar's start region coordinates, X value start_region_y avatar's start region coordinates, Y value XmlRpcCreateUserMethod returns namedescription success true or false error error message if success is false avatar_uuid UUID of the newly created avatar account; UUID.Zero if failed.
public XmlRpcCreateUserMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcDeleteRegionMethod() 공개 메소드

XmlRpcDeleteRegionMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini region_name desired region name region_id (optional) desired region UUID XmlRpcDeleteRegionMethod returns namedescription success true or false error error message if success is false
public XmlRpcDeleteRegionMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcLoadHeightmapMethod() 공개 메소드

public XmlRpcLoadHeightmapMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcLoadOARMethod() 공개 메소드

XmlRpcLoadOARMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini filename file name of the OAR file region_uuid UUID of the region region_name region name region_uuid takes precedence over region_name if both are present; one of both must be present. XmlRpcLoadOARMethod returns namedescription success true or false error error message if success is false
public XmlRpcLoadOARMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcLoadXMLMethod() 공개 메소드

public XmlRpcLoadXMLMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcModifyRegionMethod() 공개 메소드

XmlRpcModifyRegionMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini region_name desired region name region_id (optional) desired region UUID public if true, set the region to public ('true' or 'false'), else to private enable_voice if true, enable voice on all parcels of the region, else disable XmlRpcModifyRegionMethod returns namedescription success true or false error error message if success is false
public XmlRpcModifyRegionMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcRegionQueryMethod() 공개 메소드

public XmlRpcRegionQueryMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcRestartMethod() 공개 메소드

public XmlRpcRestartMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcSaveOARMethod() 공개 메소드

XmlRpcSaveOARMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini filename file name for the OAR file region_uuid UUID of the region region_name region name region_uuid takes precedence over region_name if both are present; one of both must be present. XmlRpcLoadOARMethod returns namedescription success true or false error error message if success is false
public XmlRpcSaveOARMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcSaveXMLMethod() 공개 메소드

public XmlRpcSaveXMLMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcShutdownMethod() 공개 메소드

public XmlRpcShutdownMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcUpdateUserAccountMethod() 공개 메소드

XmlRpcUpdateUserAccountMethod takes the following XMLRPC parameters (changeable ones are optional) parameter namedescription password admin password as set in OpenSim.ini user_firstname avatar's first name (cannot be changed) user_lastname avatar's last name (cannot be changed) user_password avatar's password (changeable) start_region_x avatar's start region coordinates, X value (changeable) start_region_y avatar's start region coordinates, Y value (changeable) about_real_world (not implemented yet) "about" text of avatar owner (changeable) about_virtual_world (not implemented yet) "about" text of avatar (changeable) XmlRpcCreateUserMethod returns namedescription success true or false error error message if success is false avatar_uuid UUID of the updated avatar account; UUID.Zero if failed.
public XmlRpcUpdateUserAccountMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

XmlRpcUserExistsMethod() 공개 메소드

XmlRpcUserExistsMethod takes the following XMLRPC parameters parameter namedescription password admin password as set in OpenSim.ini user_firstname avatar's first name user_lastname avatar's last name XmlRpcCreateUserMethod returns namedescription user_firstname avatar's first name user_lastname avatar's last name user_lastlogin avatar's last login time (secs since UNIX epoch) success true or false error error message if success is false
public XmlRpcUserExistsMethod ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest incoming XML RPC request
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse