view src/alice/topology/node/IncomingAbstractHostName.java @ 28:98ab26e09a98

Configuration Manager work and implements reverseKey
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Tue, 17 Jan 2012 08:41:34 +0900 (2012-01-16)
parents 9c6b9e032338
children 2bfb796b0fa1
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, 0);
		cs.hostInfo.setKey("manager", absName);
	}

}