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
UnknownHostExceptionIOExceptionpublic void start()
           throws UnknownHostException,
                  IOException
UnknownHostExceptionIOExceptionpublic void stop()
          throws IOException
IOExceptionpublic int getLocalPort()
protected String constructInstanceInfo()
Copyright © 2019. All rights reserved.