Was this page helpful?

DreamHost Class

    Table of contents
    1. 1. Members
      1. 1.1. Constructors
      2. 1.2. Fields
      3. 1.3. Properties
      4. 1.4. Methods
    Table of Contents
    public class DreamHost
    Namespace: MindTouch.Dream
    Assembly: mindtouch.core
    Type Hierarchy:
    • object
      • DreamHost
    Implements:
    • IDisposable
    Provides a hosting environment for MindTouch.Dream.IDreamService based services.

    Members

    Constructors

    Visibility Description
    Public DreamHost() Create a new host with default settings.
    Public DreamHost(XDoc config) Create a new host with provided configuration.
    Public DreamHost(XDoc config, IServiceActivator serviceActivator) Create a new host with provided configuration and a handler for instantiating services.

    Fields

    Visibility Description
    Public DEFAULT_PORT Default dream host port: 8081

    Properties

    Visibility Description
    Public Self Http location of host MindTouch.Dream.IDreamService.
    Public GlobalId Global Id used for local:// uri's
    Public IsRunning True if the host is running.
    Public LocalMachineUri Root local:// uri for this host.
    Public ActivityMessages Current host activity.

    Methods

    Visibility Description
    Public RunScripts(XDoc scripts, string path) Execute a set of scripts against the host.
    Public RunScript(XDoc script, string path) Execute a script against the host.
    Public WaitUntilShutdown() Block the current thread until the host shuts down.
    Public AddActivityDescription(object key, string description) Add a host activity.
    Public RemoveActivityDescription(object key) Remove a host activity.
    Public UpdateInfoMessage(string source, string message) Update the host's info message.
    Public Dispose() Shut down and clean up the host's resources.
    Public ToString() (Inherited from Object)
    Public Equals(object obj) (Inherited from Object)
    Public GetHashCode() (Inherited from Object)
    Public GetType() (Inherited from Object)
    Protected MemberwiseClone() (Inherited from Object)
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by