Mercurial > hg > Members > tatsuki > Alice
view src/alice/topology/node/IncomingAbstractHostName.java @ 25:50c75cb3de60
implements TopologyNode
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Jan 2012 02:40:27 +0900 |
parents | |
children | 9c6b9e032338 |
line wrap: on
line source
package alice.topology.node; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.DataSegmentReceiver; public class IncomingAbstractHostName extends CodeSegment { public DataSegmentReceiver absName = new DataSegmentReceiver(ids, CommandType.PEEK); @Override public void run() { String absName = this.absName.val.asRawValue().getString(); IncomingConnectionInfo cs = new IncomingConnectionInfo(absName); cs.hostInfo.setKey("manager", absName); } }