FileDocCategorySizeDatePackage
IIOPEndpointInfo.javaAPI DocJava SE 5 API1644Fri Aug 26 14:54:26 BST 2005com.sun.corba.se.impl.naming.namingutil

IIOPEndpointInfo

public class IIOPEndpointInfo extends Object
EndpointInfo is used internally by CorbaLoc object to store the host information used in creating the Service Object reference from the -ORBInitDef and -ORBDefaultInitDef definitions.
Author
Hemanth

Fields Summary
private int
major
private int
minor
private String
host
private int
port
Constructors Summary
IIOPEndpointInfo()

	// Default IIOP Version 
	major = ORBConstants.DEFAULT_INS_GIOP_MAJOR_VERSION;
	minor = ORBConstants.DEFAULT_INS_GIOP_MINOR_VERSION;
	// Default host is localhost
	host = ORBConstants.DEFAULT_INS_HOST;
	// Default INS Port
	port = ORBConstants.DEFAULT_INS_PORT;
    
Methods Summary
public voiddump()
Internal Debug Method.

	System.out.println( " Major -> " + major + " Minor -> " + minor );
	System.out.println( "host -> " + host );
	System.out.println( "port -> " + port );
    
public java.lang.StringgetHost()

	return host;
    
public intgetMajor()

	return major;
    
public intgetMinor()

	return minor;
    
public intgetPort()

	return port;
    
public voidsetHost(java.lang.String theHost)

	host = theHost;
    
public voidsetPort(int thePort)

	port = thePort;
    
public voidsetVersion(int theMajor, int theMinor)

	major = theMajor;
	minor = theMinor;