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
|
|
9 public DataSegmentReceiver absName = new DataSegmentReceiver(ids, CommandType.PEEK);
|
|
10
|
|
11 @Override
|
|
12 public void run() {
|
|
13 String absName = this.absName.val.asRawValue().getString();
|
|
14 IncomingConnectionInfo cs = new IncomingConnectionInfo(absName);
|
|
15 cs.hostInfo.setKey("manager", absName);
|
|
16 }
|
|
17
|
|
18 }
|