Mercurial > hg > Database > Alice
annotate src/alice/topology/node/IncomingAbstractHostName.java @ 32:2bfb796b0fa1
change method to create DataSegmentReceiver
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Jan 2012 20:49:26 +0900 |
parents | 98ab26e09a98 |
children | 20c67f673224 |
rev | line source |
---|---|
25 | 1 package alice.topology.node; |
2 | |
3 import alice.codesegment.CodeSegment; | |
4 import alice.datasegment.CommandType; | |
5 import alice.datasegment.DataSegmentReceiver; | |
6 | |
7 public class IncomingAbstractHostName extends CodeSegment { | |
8 | |
32
2bfb796b0fa1
change method to create DataSegmentReceiver
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
28
diff
changeset
|
9 public DataSegmentReceiver absName = ids.createReceiver(CommandType.PEEK); |
26 | 10 |
25 | 11 @Override |
12 public void run() { | |
13 String absName = this.absName.val.asRawValue().getString(); | |
28
98ab26e09a98
Configuration Manager work and implements reverseKey
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
26
diff
changeset
|
14 IncomingConnectionInfo cs = new IncomingConnectionInfo(absName, 0); |
25 | 15 cs.hostInfo.setKey("manager", absName); |
16 } | |
17 | |
18 } |