PFSvr_Monitor Members

Pageflex Server Logging API Reference

The PFSvr_Monitor type exposes the following members.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetTaskLog
Return all log messages for the specified task. Messages are streamed from the appropriate Log Writers Log Journal file(s) as configured in Pageflex Server Administrator.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
StartMonitor
Start the Monitor. Equivilant to MonitorRunning = True.
StopMonitor
Stop the Monitor. Equivilant to MonitorRunning = False. When stopped, the subscribed to messages are still queued up in MSMQ, and will be received once monitoring is started again.
Subscribe
Create a Subscription to the Pageflex Server logging infrastructure. After creation, the subscription monitor is stopped. Use StartMonitor()()() to start it.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
MonitorRunning
Get/Set the state of the monitor. True to enable monitoring, False to disable monitoring.
SeverityFlags
Get the current SeverityFlags.
SubscriptionFlags
Get the current SubscriptionFlags.
WriterCount
Return the number of LogWriters this monitor has subscribed to. A count of 0 indicates that there were no LogWriters to subscribe to, probably because no hosts in the cluster are active.

Events

  NameDescription
MonitorMessageRcvd
This event is raised when a PFServerLogMsg is received for a subscription

See Also