home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
csdbserver.tcl
< prev
next >
Wrap
Text File
|
1997-09-12
|
1KB
|
52 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1996
#
# File: @(#)csdbserver.tcl /main/titanic/5
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)csdbserver.tcl /main/titanic/5 12 Sep 1997 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
# 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