version 1.9, 2000/12/27 10:16:12 |
version 1.10, 2001/01/13 12:40:57 |
|
|
/* $OpenXM: OpenXM/src/k097/lib/ox/ox.k,v 1.8 2000/12/21 09:25:23 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/k097/lib/ox/ox.k,v 1.9 2000/12/27 10:16:12 takayama Exp $ */ |
|
|
/* Load_sm1(["ox.sm1",AddString([GetEnv("OpenXM_HOME"),"/lib/sm1/ox.sm1"])], |
/* Load_sm1(["ox.sm1",AddString([GetEnv("OpenXM_HOME"),"/lib/sm1/ox.sm1"])], |
"ox.sm1.loaded"); */ |
"ox.sm1.loaded"); */ |
Line 72 class OXcontrol extends Object { |
|
Line 72 class OXcontrol extends Object { |
|
} |
} |
def start() { |
def start() { |
local c,e, pass, peer, data, s, stmp; |
local c,e, pass, peer, data, s, stmp; |
this = new(super.new0()); |
this = new(Object.new0()); |
sm1(" [(oxGenPass)] extension /pass set "); |
sm1(" [(oxGenPass)] extension /pass set "); |
sm1(" [(oxGetPort1) (localhost)] extension /peer set "); |
sm1(" [(oxGetPort1) (localhost)] extension /peer set "); |
sm1(" /data peer 1 get toString def "); |
sm1(" /data peer 1 get toString def "); |
Line 125 class OX extends OXcontrol { |
|
Line 125 class OX extends OXcontrol { |
|
if (Length(Arglist) == 1) { |
if (Length(Arglist) == 1) { |
control = null; |
control = null; |
} |
} |
this = new(super.generate(control)); |
this = new(OXcontrol.generate(control)); |
control = super.getControl(); |
control = this.getControl(); |
sm1(" [(oxGetPort1) (localhost)] extension /peer set "); |
sm1(" [(oxGetPort1) (localhost)] extension /peer set "); |
sm1(" /data peer 1 get def "); |
sm1(" /data peer 1 get def "); |
/* BUG: control.pushCMO(data) does not work. |
/* BUG: control.pushCMO(data) does not work. |
Line 222 def startAsir() { |
|
Line 222 def startAsir() { |
|
return(a); |
return(a); |
} |
} |
|
|
|
class Asir extends OX { |
|
local ; |
|
def generate() { |
|
local asirpeer,a; |
|
this = new(OX.generate("ox_asir",null)); |
|
a = this; |
|
asirpeer = (a.getEngine()).getChannel(); |
|
Println(asirpeer); |
|
sm1(" [asirpeer oxasirpath.asirlib] loadAsirFile "); |
|
return(this); |
|
} |
|
} |