view src/main/java/alice/topology/manager/CloseEventCodeSegment.java @ 467:6e304a7a60e7 dispose

remove white space
author sugi
date Sat, 22 Nov 2014 12:08:24 +0900
parents 01c4240c2ff0
children
line wrap: on
line source

package alice.topology.manager;

import alice.codesegment.CodeSegment;
import alice.daemon.ConnectionInfo;
import alice.datasegment.CommandType;
import alice.datasegment.Receiver;

public abstract class CloseEventCodeSegment extends CodeSegment {

    private Receiver metaInfo = ids.create(CommandType.PEEK);

    public CloseEventCodeSegment(){
        metaInfo.setKey("disconnect");
    }

    public ConnectionInfo getConnectionInfo() {
        return metaInfo.asClass(ConnectionInfo.class);
    }

}