Xameleon
Constructs an S3Object.
Byte array representing the object
Metadata associated with the object
Constructs an S3Object.
String representation of the data; this will be decoded via ASCII
Metadata associated with the object
Constructs an S3Object.
String representation of the data; this will be decoded via ASCII
Metadata associated with the object
Acquires the binary representation of an object.
Acquires the ASCII Encoding representation of an object.
Acquires the metadata.
Base class of all the message types.
Interface definition supported by all the different message types.
Serializes a message instance into an XML string.
XML string representing the Message instance.
Get or sets the identifier for the request message.
Identifier string set by the client to track the message.
Ensure this value is as unique as possible.
Get or sets the identifier for the response message.
Identifier string set by the server to track the message response.
Get or sets the operation carried by this message.
One of the Operation enumeration's value.
Get or sets the type of message.
One of the MessageType enumeration's value.
Get or sets the queue identifier.
A string denoting the identifier of a queue.
Get or sets the message identifier.
A string denoting the identifier of a message.
Get or sets the force attribute of the operation.
Indicates if the operation carried
by the message should be forced on the server.
Not all operations support this feature.
Get or sets the error code.
An integer denoting the error type.
Because one code can be used for many distinct error types,
you should correlate this with the ErrorType value.
Get or sets the error type.
A string specifying the exact error type.
Get or sets the error message.
A string specifying the explanation associated
with this error for information purpose.
Sets the default XmlWriterSettings instance used for the serialization.
-
Indent
Indentation is disabled by default.
-
Encoding
Default encoding to be used: UTF-8.
-
OmitXmlDeclaration
The XML declaration is not included by default.
Parses an XML string and maps it into a Message instance.
The returned instance depends on the type of operations carried by the message.
Message representation as an XML string.
An instance of one of the message classes.
Get or sets settings to be used during serialization.
An instance of the XmlWriterSettings class.
Message payload.
Add a new queue identifier to the list of queues.
Queue identifier.
Remove a queue identifier from the list of queues.
Queue identifier.
Gets the list of queue identifiers.
The name of the bucket being listed. Null if the request fails.
The prefix echoed back from the request. Null if the request fails.
The marker echoed back from the request. Null if the request fails.
The delimiter echoed back from the request. Null if not specified in
the request or it fails.
The maxKeys echoed back from the request if specified. 0 if the request fails.
Indicates if there are more results to the list. True if the current
list results have been truncated. The value will be false if the request
fails.
Indicates what to use as a marker for subsequent list requests in the event
that the results are truncated. Present only when a delimiter is specified.
Null if the requests fails.
A list of ListEntry objects representing the objects in the given bucket.
Null if the request fails.
A list of CommonPrefixEntry objects representing the common prefixes of the
keys that matched up to the delimiter. Null if the request fails.
The prefix common to the delimited keys it represents.
This interface is used for classes that serve as application
hosts.
An application, as created through a , exists in its own .
Unloads the application host.
Gets the physical path of the hosted application.
A containing the physical path of
the hosted application.
Gets the virtual path of the hosted application.
A containing the virtual path of
the hosted application.
Gets the app-domain the application host exists in.
A object containing the
app-domain the application host exists in.
Gets and sets the request broker that manages the hosted
requests.
A object containing the
request broker that manages the hosted requests.
Gets the application server that created the application
host.
A object containing the
application server that created the application host.
This interface is used for classes that manage requests.
A request broker serves as an intermediary between and to handle
the interaction between app-domains. In addition it should
inherit .
This abstract is used for running implementation specific
requests.
Sets the number of times the current instance has been
reused by the server.
A containing the number of times the
current instance has been reused.
Gets the number of times the current instance can be
reused by the server.
A containing the number of times the
current instance can be reused by the server.
If less than or equal to zero, the current instance
should not be reused and the resources associated with it
should be freed.
Runs the current instance.
A containing state information from
the worker that evoked the method. Always .
If the entire process of running the request is done in
the method, should be set to . If, however, the method evokes an
asynchronous or threaded call, like ,
should be set to .
Reads a block of request data from the current
implementation.
A to be populated with the read
data.
A containing the position in it which to start storing the read data.
A containing the number of bytes to
read.
A containing the number of bytes that
were actually read.
Writes a block of response data from the current
implementation.
A containing data to write.
A containing the position in it which to start writing from.
A containing the number of bytes to
write.
Closes the current instance and releases the resources
associated with the data transfer.
Causes all response data to be written.
Gets whether or not the current instance is connected.
A indicating whether or not the
current instance is connected.
Gets whether or not the current instance is asynchronous.
A indicating whether or not the
current instance is asynchronous.
This property indicates whether or not a call to will spawn its own worker thread. indicates that the entire process
will be completed in a single thread during the duration
of .
This abstract class produces the implementation specific
components needed to run the .
Creates a bound socket to be used for listening for new
connections.
A object containing a socket to be
used for listening for new connections.
Creates a worker to use to run a request on a client
socket.
A object containing a client
socket accepted from the listen socket created by .
A object containing the
server that created the current instance.
A to use to run a request.
Gets the type of application host to use with the current
instance.
A containing the type of application
host to use with the current instance.
The type of class returned must implement .
This type is used internally to create a in a specified via .
Creates a request broker for managing requests.
A containing a request
broker for managing requests.
Each application host receives its own request broker.
Disposes of the the resources contained in the current
instance.
Implemented for .
Disposes of the the resources contained in the current
instance.
A indicating whether or not the
current instance is disposing. If , the method was called by the class and not the
garbage collector.
Calculates the endpoint based on the calling format.
This class mimics the behavior of AWSAuthConnection, except instead of actually performing
the operation, QueryStringAuthGenerator will return URLs with query string parameters that
can be used to do the same thing. These parameters include an expiration date, so that
if you hand them off to someone else, they will only work for a limited amount of time.
Sets/Gets the milliseconds since the Epoch that this
expires at
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to http://xslt.googlecode.com/svn/trunk/Modules/DataFilter/init.xml.
Looks up a localized string similar to http://xslt.googlecode.com/svn/test/extensionfunction.xsl.
Wrapper carrying necessary information when using the asynchronous methods
of the QueueClient class.
Gets or sets the connected client socket.
Gets or sets the synchronisation event on which
another thread is waiting on.
Gets or sets the content read from the socket so far.
Gets the buffer where the data was read into.
Manages a connection to a bucker queue.
Allows to perform actions on a queue and its messages
Connect to the queue server.
Gracefully disconnect from the queue server.
Send a message as an XML string.
Message representation as an XML string.
Send a message instance.
Message instance.
Asynchronously send a message as an XML string.
Message representation as an XML string.
Synchronisation event used by the calling thread.
Asynchronously send a message instance.
Message instance.
Synchronisation event used by the calling thread.
Read up to 1024 bytes from the queue.
Block the caller execution.
Whatever could be read from the queue connection.
Read up to the specified number of bytes from the queue.
Block the caller execution.
Maximum to be read from the queue.
Whatever could be read from the queue connection.
Asynchronously read from the queue and put the content into
the provided StringBuilder.
Hold the read content.
Synchronisation event used by the calling thread.
This class extends to provide arguments for
.
Constructs an instance of the class for the specified request ID
Request of the ID that has just been unregistered
Contains the id of a request that is about to be unregistered.
This class provides a request broker covering the base
functionality.
A request broker serves as an intermediary between and to handle
the interaction between app-domains.
Contains the initial request capacity of a .
Contains a lock to use when accessing and modifying the
request allocation tables.
Contains the request ID's.
Contains the registered workers.
Contains buffers for the requests to use.
Contains the number of active requests.
Contains the total number of requests served so far.
May freely wrap around.
Grows the size of the request allocation tables by 33%.
A containing the current length of the
allocation tables.
A containing the ID to use for a new
request.
This *MUST* be called with the reqlock held!
Gets the next available request ID, expanding the array
of possible ID's if necessary.
A containing the ID of the request.
This *MUST* be called with the reqlock held!
Registers a request with the current instance.
A object containing the request to
register.
A containing the ID of the request.
Unregisters a request with the current instance.
A containing the ID of the request.
Before unregistering the request and freeing all of its data, the method
invokes the handlers (if any).
After the event handlers return the request ID is invalid and
*MUST NOT* be used for any purpose other than referencing the event
receiver's internal housekeeping records for that particular ID.
Make the event handler code as fast as possible, as until it returns no other
request shall be allocated another id.
Invokes registered handlers of . Each handler is
passed an arguments object which contains the ID of a request that is about to be unregistered.
ID of a request that is about to be unregistered
Gets whether or not the request with a specified ID is
valid.
A containing the ID of the request.
A indicating whether or not the
request is valid.
Reads a block of request data from the request with a
specified ID.
A containing the ID of the request.
A containing the number of bytes to
read.
A containing the read data.
A containing the number of bytes that
were actually read.
See .
Gets the request with a specified ID.
A containing the ID of the request.
A object containing the request
with the specified ID, or if the
request does not exist.
Writes a block of response data to the request with a
specified ID.
A containing the ID of the request.
A containing data to write.
A containing the position in it which to start writing from.
A containing the number of bytes to
write.
See .
If the request does not exist, no action is
taken.
Closes the request with a specified ID.
A containing the ID of the request.
See .
If the request does not exist, no action is
taken.
Flushes the request with a specified ID.
A containing the ID of the request.
See .
If the request does not exist, no action is
taken.
Gets whether or not the request with a specified ID is
connected.
A containing the ID of the request.
A indicating whether or not the
request is connected. If the request doesn't exist, will be returned.
See .
Obtains a lifetime service object for the current
instance.
Always .
This event is called just before the request is unregistered by the broker.
This gives the chance to clean up any private data associated with the event.
The event handlers are invoked with a lock held on the issuing object, so that the event receiver
can do the cleanup without the chance of another thread stepping in at the wrong time.
This delegate is used to handle
Origin of the event
An object with the event-specific arguments
Add a new message identifier to the list of messages.
Message identifier.
Remove a message identifier from the list of messages.
Message identifier.
Gets the list of message identifiers.
Creates the event handler and registers
a handler () with the event.
Unloads the current application domain by calling
Event handler for the
event. Calls
to shut the host down.
Process a request.
A worker object to actually process the request
If the mwr parameter is null or no request data can be read, the request will be ended
immediately. Otherwise, registers an event handler for the worker's event and calls the worker's method to actually process the request. If an unhandled exception
occurs during that phase, it is printed to the console and is called
immediately.
Reference to the associated
Physical path to the application root directory.
Virtual path to the application root.
Returns the current application domain.
Reference to the associated request broker
Possible operations carried by a message.
Type of message.
This abstract class extends ,
adding support for security certificates and implementing methods
for use with a web server.
Contains the application host used by the current
instance.
Contains the encoding used for content in the current
instance.
Contains the encoding used for headers in the current
instance.
Contains a representation of the
query string.
When is called, it
stores the encoded query string in this property so it
only has to be converted once.
Contains the host virtual path of the current instance as
read from the application host.
Contains the host physical path of the current instance
as read from the application host.
Contains the
callback to call once all data has been sent.
Contains the data to send to .
Contains the raw server certificate used for
authenticating the current instance, if secure.
Contains the raw client certificate used for
authenticating the current instance, if secure.
Contains the X509 client certificate used for
authenticating the current instance, if secure.
Contains the server variables in the current instance.
Indicates whether or not an unhandled exception has
occurred while processing the request.
Being within an unhandled exception can cause problems
when accessing properties of the .
Constructs and initializes a new instance of for a specified application
host.
A object containing the
application host that created the new instance.
MUST be the that created the new
instance so they will be in the same .
Gets the virtual host path of the file used by of the
current instance.
A containing the virtual host path
of the file used by the current instance.
Gets the physical host path of the file used by of the
current instance.
A containing the physical host path
of the file used by the current instance.
Gets the mapped path of the file used by of the current
instance.
A containing the mapped path of the
file used by the current instance.
Gets the local address of the current instance.
A containing the local address of
the current instance.
Gets the server name of the current instance.
A containing the server name of
the current instance.
Gets the local port of the current instance.
A containing the port number of the
current instance.
Gets the preloaded entity data for the current instance.
A containing the preloaded entity
data contained from the request.
If the request was receiving data before being processed,
entity (form) data may have been accumulated. This method
allows that data to be read directly.
Gets the bytes representing the query string of the
current instance.
A containing the bytes representing
the query string.
Evokes the registered
delegates one by one until the path is mapped.
A containing the virutal path of
the request.
A containing the mapped physical
path of the request, or if the
path was not successfully mapped.
Maps the virtual path of the request to a physical path.
A containing the virutal path of
the request.
A containing the mapped physical
path of the request.
By default, the path will be mapped using the virtual and
physical paths of the
used to create the current instance. To override this,
register a with .
Gets the request data.
A indicating whether or not the data
was gotten successfully.
Reads the request data.
A indicating whether or not the data
was read successfully.
Contains the default exception HTML to be used if all
other renderers fail.
This string is to be passed into where the
exception is the second argument.
Processes the request contained in the current instance.
Does final processing after the request has been
completed.
Sets the end-of-status notification callback and its
complementary data.
A delegate to be
called when the current instance is finished sending data
to the response.
A containing data to be sent to
when it is called.
Sends the calculated content length of the response.
A containing the content length of the
response.
Including the content length in the header allows the
client to show download progress.
Sends a known response header with a specified index and
value.
A containing a known response header
index.
A containing the response value.
Sends a response directly from stream at a specified
offset with a specified length.
A object to send from.
A specifying at what seek position to
start sending from.
A specifying the number of bytes to
send.
Sends a response directly from file at a specified offset
with a specified length.
A containing the name of the file
to send from.
A specifying at what seek position to
start sending from.
A specifying the number of bytes to
send.
Sends a response directly from a raw file descriptor at a
specified offset with a specified length.
A pointing to a raw file
descriptor.
A specifying at what seek position to
start sending from.
A specifying the number of bytes to
send.
Contains the certificate cookie as used by .
Contains the certificate issuer as used by .
Contains the certificate serial as used by .
Contains the certificate subject as used by .
Gets a server variable with a specified name from the
current instance.
A containing the name of the
server variable to get.
A containing the value of the
server variable, or if the
variable was not found.
Server variables are like environment variables and
contain name/value pairs of information.
Adds a server variable to the current instance.
A containing the name of the
server variable to add.
A containing the value of the
server variable to add.
Server variables are like environment variables and
contain name/value pairs of information.
Sets the raw client certificate used by the current
instance.
A containing the raw client
certificate used by the current instance.
This method should only be called if is .
Gets the raw client certificate used by the current
instance.
A containing the raw client
certificate used by the current instance.
This method should only be called if is .
Gets the binary issuer of the client certificate used by
the current instance.
A containing the binary issuer of
the client certificate used by the current instance.
This method should only be called if is .
Gets the encoding of the client certificate used by the
current instance.
A indicating the encoding of the
client certificate used by the current instance.
This method should only be called if is .
Gets the public key of the client certificate used by the
current instance.
A containing the public key
the client certificate used by the current instance.
This method should only be called if is .
Gets the date and time the client certificate used by the
current instance is valid from.
A containing the date and time
the client certificate used by the current instance is
valid from.
This method should only be called if is .
Gets the date and time the client certificate used by the
current instance is valid until.
A containing the date and time
the client certificate used by the current instance is
valid until.
This method should only be called if is .
This event is called by and is
used for custom path mapping.
See for an
example.
Handlers added to are not guaranteed to be
called. The class will evoke the handlers in order
until the path is mapped, and then stop.
This event is called after the request has been completed
and should be used by request brokers to perform final
operations.
Gets the physical path of the application host of the
current instance.
A containing the physical path of
the application host of the current instance.
Gets the virtual path of the application host of the
current instance.
A containing the virtual path of
the application host of the current instance.
Gets the content encoding used by the current instance.
A containing the content encoding
used by the current instance.
Gets the header encoding used by the current instance.
A containing the header encoding
used by the current instance.
Gets the request ID as used by the 's request broker.
A containing the request ID.
Gets the X509 client certificate used by the current
instance.
A object containing the
client certificate used by the current instance.
This property should only be used if is .
An interface into the S3 system. It is initially configured with
authentication and connection parameters and exposes methods to access and
manipulate S3 data.
Creates a new bucket.
The name of the bucket to create
A Map of string to string representing the headers to pass (can be null)
Lists the contents of a bucket.
The name of the bucket to list
All returned keys will start with this string (can be null)
All returned keys will be lexographically greater than this string (can be null)
The maximum number of keys to return (can be 0)
A Map of string to string representing HTTP headers to pass.
Lists the contents of a bucket.
The name of the bucket to list
All returned keys will start with this string (can be null)
All returned keys will be lexographically greater than this string (can be null)
The maximum number of keys to return (can be 0)
A Map of string to string representing HTTP headers to pass.
Keys that contain a string between the prefix and the first
occurrence of the delimiter will be rolled up into a single element.
Deletes an empty Bucket.
The name of the bucket to delete
A map of string to string representing the HTTP headers to pass (can be null)
Writes an object to S3.
The name of the bucket to which the object will be added.
The name of the key to use
An S3Object containing the data to write.
A map of string to string representing the HTTP headers to pass (can be null)
Writes an object to S3.
The name of the bucket to which the object will be added.
The name of the key to use
An S3Object containing the data to write.
A map of string to string representing the HTTP headers to pass (can be null)
Reads an object from S3
The name of the bucket where the object lives
The name of the key to use
A Map of string to string representing the HTTP headers to pass (can be null)
Delete an object from S3.
The name of the bucket where the object lives.
The name of the key to use.
A map of string to string representing the HTTP headers to pass (can be null)
Get the logging xml document for a given bucket
The name of the bucket
A map of string to string representing the HTTP headers to pass (can be null)
Write a new logging xml document for a given bucket
The name of the bucket to enable/disable logging on
The xml representation of the logging configuration as a String.
A map of string to string representing the HTTP headers to pass (can be null)
Get the ACL for a given bucket.
The the bucket to get the ACL from.
A map of string to string representing the HTTP headers to pass (can be null)
Get the ACL for a given object
The name of the bucket where the object lives
The name of the key to use.
A map of string to string representing the HTTP headers to pass (can be null)
Write a new ACL for a given bucket
The name of the bucket to change the ACL.
An XML representation of the ACL as a string.
A map of string to string representing the HTTP headers to pass (can be null)
Write a new ACL for a given object
The name of the bucket where the object lives or the
name of the bucket to change the ACL if key is null.
The name of the key to use; can be null.
An XML representation of the ACL as a string.
A map of string to string representing the HTTP headers to pass (can be null)
List all the buckets created by this account.
A map of string to string representing the HTTP headers to pass (can be null)
Make a new WebRequest without an S3Object.
Make a new WebRequest with an S3Object.
Make a new WebRequest
The HTTP method to use (GET, PUT, DELETE)
The bucket name for this request
The key this request is for
A map of string to string representing the HTTP headers to pass (can be null)
S3Object that is to be written (can be null).
Add the given headers to the WebRequest
Web request to add the headers to.
A map of string to string representing the HTTP headers to pass (can be null)
Add the given metadata fields to the WebRequest.
Web request to add the headers to.
A map of string to string representing the S3 metadata for this resource.
Add the given headers to the WebRequest with a prefix before the keys.
WebRequest to add the headers to.
Headers to add.
String to prepend to each before ebfore adding it to the WebRequest
Add the appropriate Authorization header to the WebRequest
Request to add the header to
The resource name (bucketName + "/" + key)
Message payload.
Summary description for Authenticate service
This class extends to provide arguments
for .
When is called, the
handler has an option of setting to a mapped path.
Contains the virtual path, as used in the request.
Contains the physical "mapped" path.
Indicates whether or not the path has been mapped.
Constructs and initializes a new instance of for a specified virtual path.
A containing the virtual path, as
contained in the request.
Gets the virtual path of the current instance.
A containing the virtual path of
the current instance.
Gets whether or not the path is mapped.
A indicating whether or not the path
has been mapped.
Gets and sets the physical "mapped" path for the current
instance.
A containing the physical "mapped"
path of the current instance.
This delegate is used to handle and performs custom path
mapping.
The that sent the event.
A object containing the arguments
for the event.
This method is used for custom path mapping within .
An example
void OnMapPathEvent (object sender, MapPathEventArgs args)
{
if (args.Path.StartsWith ("/blog"))
args.MappedPath = @"C:\Documents and Settings\John Doe\My Documents\Visual Studio 2005\WebSites\blog";
}
This delegate is used to handle .
The that sent the event.