org.jacorb.idl
Interface Operation

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Method, OpDecl

public interface Operation
extends java.io.Serializable


Method Summary
 void accept(IDLTreeVisitor visitor)
           
 java.lang.String name()
          name gives the plain name of the operation
 java.lang.String opName()
          opName gives the mangled name in case of attributes (_get_, _set_).
 void print_sendc_Method(java.io.PrintWriter ps, java.lang.String classname)
           
 void printDelegatedMethod(java.io.PrintWriter ps)
          Method code for skeletons
 void printInvocation(java.io.PrintWriter ps)
           
 void printMethod(java.io.PrintWriter ps, java.lang.String classname, boolean is_local, boolean is_abstract)
          printMethod produces the method code for stubs.
 void printSignature(java.io.PrintWriter ps)
           
 void printSignature(java.io.PrintWriter ps, boolean printModifiers)
           
 java.lang.String signature()
           
 

Method Detail

name

public java.lang.String name()
name gives the plain name of the operation

Returns:
a String value

opName

public java.lang.String opName()
opName gives the mangled name in case of attributes (_get_, _set_).

Returns:
a String value

printMethod

public void printMethod(java.io.PrintWriter ps,
                        java.lang.String classname,
                        boolean is_local,
                        boolean is_abstract)
printMethod produces the method code for stubs.

Parameters:
ps - a PrintWriter value
classname - a String value
is_local - a boolean value
is_abstract - a boolean value used by Interface to denote an abstract.

print_sendc_Method

public void print_sendc_Method(java.io.PrintWriter ps,
                               java.lang.String classname)

signature

public java.lang.String signature()

printSignature

public void printSignature(java.io.PrintWriter ps,
                           boolean printModifiers)
Parameters:
printModifiers - whether "public abstract" should be added

printSignature

public void printSignature(java.io.PrintWriter ps)

printDelegatedMethod

public void printDelegatedMethod(java.io.PrintWriter ps)
Method code for skeletons

Parameters:
ps - a PrintWriter value

printInvocation

public void printInvocation(java.io.PrintWriter ps)

accept

public void accept(IDLTreeVisitor visitor)