Previous Topic Next topic Print topic


Class CobolConnectionMetaData

Represents the meta data about the Cobol Server.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
java.lang.Object

extended by com.microfocus.cobol.connector.cci.CobolConnectionMetaData

All Implemented Interfaces

ConnectionMetaData

Class Specifications

public class CobolConnectionMetaData

extends Object

implements ConnectionMetaData

Constructor Summary

CobolConnectionMetaData(CobolManagedConnection mc)
Construct a new CobolConnectionMetaData instance.

Methods

Method Summary
String getEISProductName()

Get the Enterprise Server name.

String getEISProductVersion()

Get the Enterprise Server version.

String getUserName()

Get the user name.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CobolConnectionMetaData
public CobolConnectionMetaData(CobolManagedConnection mc)

Construct a new CobolConnectionMetaData instance.

Parameters:
mc CobolManagedConnection - Physical Connection to the Cobol Server.

Method Detail

EISProductName
public String getEISProductName()
                         throws ResourceException

Get the Enterprise Server name.

Specified by:
getEISProductName in interface ConnectionMetaData
Returns:
The Cobol Server name.
Throws:
ResourceException
getEISProductVersion
public String getEISProductVersion()
                            throws ResourceException

Get the Enterprise Server version.

Specified by:
getEISProductVersion in interface ConnectionMetaData
Returns:
The Cobol Server version.
Throws:
ResourceException
getUserName
public String getUserName()
                   throws ResourceException

Get the user name.

Specified by:
getUserName in interface ConnectionMetaData
Returns:
The user name.
Throws:
ResourceException
Previous Topic Next topic Print topic