home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
csdbserver.tcl
< prev
next >
Wrap
Text File
|
1996-10-04
|
2KB
|
56 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1996
#
# File: @(#)csdbserver.tcl /main/hindenburg/5
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)csdbserver.tcl /main/hindenburg/5 4 Oct 1996 Copyright 1996 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require "csserverno.tcl"
Class CSDbServerNode : {CSServerNode} {
constructor
method destructor
method childObjects
method createChild
method doUpdate
}
constructor CSDbServerNode {class this name i_server} {
set this [CSServerNode::constructor $class $this $name $i_server]
# Start constructor user section
$this label [$i_server name]
$this icon rep_dbsrv_16
# End constructor user section
return $this
}
method CSDbServerNode::destructor {this} {
# Start destructor user section
# End destructor user section
$this CSServerNode::destructor
}
method CSDbServerNode::childObjects {this} {
set server [$this server]
return [osort pid -integer [$server clients]]
}
method CSDbServerNode::createChild {this object} {
return [CSClientNode new $this.[$this childName $object] $object]
}
method CSDbServerNode::doUpdate {this {rebuild 1}} {
$this CSServerNode::doUpdate $rebuild
}
# Do not delete this line -- regeneration end marker