Package org.acplt.oncrpc.apps.jrpcgen
Class JrpcgenProgramInfo
java.lang.Object
org.acplt.oncrpc.apps.jrpcgen.JrpcgenProgramInfo
The
JrpcgenProgramInfo
class contains information about a
single ONC/RPC program as defined in an rpcgen "x"-file.- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/13 12:03:46 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJrpcgenProgramInfo
(String programId, String programNumber, Vector versions) Construct a newJrpcgenProgramInfo
object containing the programs's identifier and number, as well as the versions defined for this particular ONC/RPC program. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dumpConstants
(PrintWriter out) Generates source code to define all constants belonging to this program.
-
Field Details
-
programNumber
Program number assigned to an ONC/RPC program. This attribute contains either an integer literal or an identifier (which must resolve to an integer). -
programId
Identifier assigned to the program number of an ONC/RPC program. -
versions
Set of versions specified for a particular ONC/RPC program. The elements in the set are of classJrpcgenVersionInfo
.
-
-
Constructor Details
-
JrpcgenProgramInfo
Construct a newJrpcgenProgramInfo
object containing the programs's identifier and number, as well as the versions defined for this particular ONC/RPC program.- Parameters:
programId
- Identifier defined for this ONC/RPC program.programNumber
- Program number assigned to this ONC/RPC program.versions
- Vector of versions defined for this ONC/RPC program.
-
-
Method Details
-
dumpConstants
Generates source code to define all constants belonging to this program.- Parameters:
out
- PrintWriter to send source code to.
-