License Manager Class Constructors
This chapter provides information about the following Cisco License Manager class constructors:
•
LicenseManager (Default) (default constructor)
•
LicenseManager (Nondefault) (constructor using nondefault callback port)
LicenseManager (Default)
Synopsis
public LicenseManager() throws RemoteException;
Description
This is the default constructor. When the default constructor is used to create an instance of LicenseManager, TCP/IP port 1198 is used for the client-side callback function to receive results of asynchronous calls. If port 1198 is not available, the next available port in the range from 1198 to 1297 is used.
Input Parameters
Not applicable.
Return
Not applicable.
Error and Exception
If a system error prevents the operation from completing, a RemoteException is thrown.
Code
See Appendix A, "Sample Client Program in Java" for a sample of the code.
LicenseManager (Nondefault)
Synopsis
public LicenseManager(int callback_port) throws RemoteException;
Description
To specify a non default port to be used for the client-side callback function, use this constructor and specify the port to be used.
Input Parameters
|
|
|
|
callback_port |
Integer, mandatory |
Range from 1024 to 65535 |
Port on which the client-side callback function receives results of asynchronous calls. |
Return
Not applicable.
Error and Exception
If a system error prevents the operation from completing, a RemoteException is thrown.