org.glassfish.internal.embedded
Interface Port


@Contract
public interface Port

Port abstraction, used to bind several containers to the same port.

Author:
Jerome Dochez

Field Summary
static String HTTP_PROTOCOL
           
static String HTTPS_PROTOCOL
           
static String IIOP_PROTOCOL
           
 
Method Summary
 void close()
          Unbinds (close) this port instance, releasing network resources at portNumber
 int getPortNumber()
          Returns the port number occupied by this instance.
 

Field Detail

HTTP_PROTOCOL

static final String HTTP_PROTOCOL
See Also:
Constant Field Values

HTTPS_PROTOCOL

static final String HTTPS_PROTOCOL
See Also:
Constant Field Values

IIOP_PROTOCOL

static final String IIOP_PROTOCOL
See Also:
Constant Field Values
Method Detail

getPortNumber

int getPortNumber()
Returns the port number occupied by this instance.

Returns:
port number

close

void close()
Unbinds (close) this port instance, releasing network resources at portNumber



Copyright © 2012 GlassFish Community. All Rights Reserved.