public class EC2MetadataUtilsServer extends Object
Constructor and Description |
---|
EC2MetadataUtilsServer(String address,
int port) |
Modifier and Type | Method and Description |
---|---|
protected String |
constructInstanceInfo() |
int |
getLocalPort() |
void |
start() |
void |
stop() |
public EC2MetadataUtilsServer(String address, int port) throws UnknownHostException, IOException
UnknownHostException
IOException
public void start() throws UnknownHostException, IOException
UnknownHostException
IOException
public void stop() throws IOException
IOException
public int getLocalPort()
protected String constructInstanceInfo()
Copyright © 2017. All rights reserved.