Mercurial > hg > Database > Alice
view 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 |
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 = ids.createReceiver(CommandType.PEEK); @Override public void run() { String absName = this.absName.val.asRawValue().getString(); IncomingConnectionInfo cs = new IncomingConnectionInfo(absName, 0); cs.hostInfo.setKey("manager", absName); } }