home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
csprocessn.tcl
< prev
next >
Wrap
Text File
|
1997-05-28
|
1KB
|
50 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1996
#
# File: @(#)csprocessn.tcl /main/titanic/3
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)csprocessn.tcl /main/titanic/3 28 May 1997 Copyright 1996 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "csnode.tcl"
Class CSProcessNode : {CSNode} {
constructor
method destructor
method doUpdate
attribute process
}
constructor CSProcessNode {class this name} {
set this [CSNode::constructor $class $this $name]
# Start constructor user section
# End constructor user section
return $this
}
method CSProcessNode::destructor {this} {
# Start destructor user section
# End destructor user section
$this CSNode::destructor
}
method CSProcessNode::doUpdate {this {rebuild 1}} {
$this CSNode::doUpdate $rebuild
set info [$this info]
set process [$this process]
$info addHeader "Process"
$info addItem "On host" [$process host]
$info addItem "Process id" [$process pid]
$info addItem "Started by" [$process owner]
}
# Do not delete this line -- regeneration end marker