Was this page helpful?

IDreamEnvironment Interface

    Table of contents
    1. 1. Members
      1. 1.1. Properties
      2. 1.2. Methods
    Table of Contents
    public abstract interface IDreamEnvironment
    Namespace: MindTouch.Dream
    Assembly: mindtouch.dream
    Type Hierarchy:
    • IDreamEnvironment
    Provides the interface for the Dream host environment.

    Members

    Properties

    Visibility Description
    Public GlobalId Host Globally Unique Identifier.
    Public IsRunning True if the host is running.
    Public LocalMachineUri The host's local uri.
    Public Self MindTouch.Dream.Plug for host.
    Public ActivityMessages Current Activity messages.

    Methods

    Visibility Description
    Public Initialize(XDoc config) Initialize the host.
    Public Deinitialize() Shut down the host.
    Public SubmitRequestAsync(string verb, XUri uri, IPrincipal user, DreamMessage request, Result<DreamMessage> response) Asynchronously submit a request to the host.
    Public WaitUntilShutdown() Block execution until host has shut down.
    Public AddActivityDescription(object key, string description) Add an activity.
    Public RemoveActivityDescription(object key) Remove an activity.
    Public UpdateInfoMessage(string source, string message) Update the information message for a source.
    Public CheckResponseCache(IDreamService service, object key) Check response cache for a service.
    Public RemoveResponseCache(IDreamService service, object key) Remove an item from a service's cache.
    Public EmptyResponseCache(IDreamService service) Empty entire cache for a service.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by