annotate src/main/java/alice/topology/node/IncomingAbstractHostName.java @ 655:1c93e82e05c6 default tip

fix timestamp
author suruga
date Sat, 17 Feb 2018 00:33:00 +0900
parents e321c5ec9b58
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
345
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
1 package alice.topology.node;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
2
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
3 import alice.codesegment.CodeSegment;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
4 import alice.datasegment.CommandType;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
5 import alice.datasegment.Receiver;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
6
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
7 public class IncomingAbstractHostName extends CodeSegment {
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
8
645
cb16036404ba fix local topology test
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 419
diff changeset
9 private final TopologyNodeConfig conf;
419
aefbe41fcf12 change tab to space
sugi
parents: 403
diff changeset
10 public Receiver absName = ids.create(CommandType.PEEK);
aefbe41fcf12 change tab to space
sugi
parents: 403
diff changeset
11
645
cb16036404ba fix local topology test
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 419
diff changeset
12 public IncomingAbstractHostName(TopologyNodeConfig conf) {
cb16036404ba fix local topology test
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 419
diff changeset
13 this.conf = conf;
cb16036404ba fix local topology test
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 419
diff changeset
14 }
cb16036404ba fix local topology test
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 419
diff changeset
15
419
aefbe41fcf12 change tab to space
sugi
parents: 403
diff changeset
16 @Override
aefbe41fcf12 change tab to space
sugi
parents: 403
diff changeset
17 public void run() {
aefbe41fcf12 change tab to space
sugi
parents: 403
diff changeset
18 String absName = this.absName.asString();
647
e321c5ec9b58 fix toplogy manager; ring worked
suruga
parents: 645
diff changeset
19 IncomingConnectionInfo cs = new IncomingConnectionInfo(absName, 0, conf.getManagerKey());
419
aefbe41fcf12 change tab to space
sugi
parents: 403
diff changeset
20 }
345
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
21
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
22 }