Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.classpath.examples.CORBA.swing.x5
Class _GameManagerImpl_Tie  view _GameManagerImpl_Tie download _GameManagerImpl_Tie.java

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended bygnu.classpath.examples.CORBA.swing.x5._GameManagerImpl_Tie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, javax.rmi.CORBA.Tie

public class _GameManagerImpl_Tie
extends org.omg.PortableServer.Servant
implements javax.rmi.CORBA.Tie

Normally generated with rmic compiler, this class represents the GameManager Tie on the client side. The Game Manager methods contain the code for remote invocation. This class is normally generated with rmic or grmic from the GameManagerImpl. See tools/gnu/classpath/tools/giop/README. In this example the class was manually edited and commented for better understanding of functionality.


Field Summary
private static java.lang.String[] _type_ids
          The GameManager repository Id.
private  GameManagerImpl target
          The target, where remote invocations are forwarded.
 
Fields inherited from class org.omg.PortableServer.Servant
 
Constructor Summary
_GameManagerImpl_Tie()
           
 
Method Summary
 java.lang.String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId)
          Return all interfaces, supported by this method.
 org.omg.CORBA.portable.OutputStream _invoke(java.lang.String method, org.omg.CORBA.portable.InputStream _in, org.omg.CORBA.portable.ResponseHandler reply)
          This method is invoked by CORBA system to handle the remote invocation.
 void deactivate()
          Deactivate this object.
 java.rmi.Remote getTarget()
          Get the target where the remote invocations are forwarded.
 org.omg.CORBA.ORB orb()
          Get the ORB for this tie.
 void orb(org.omg.CORBA.ORB orb)
          Set the ORB for this tie.
 void setTarget(java.rmi.Remote a_target)
          Set the target where the remote invocations are forwarded.
 org.omg.CORBA.Object thisObject()
          Get the CORBA object for that this Tie is currently serving the request.
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private GameManagerImpl target
The target, where remote invocations are forwarded.


_type_ids

private static final java.lang.String[] _type_ids
The GameManager repository Id.

Constructor Detail

_GameManagerImpl_Tie

public _GameManagerImpl_Tie()
Method Detail

setTarget

public void setTarget(java.rmi.Remote a_target)
Set the target where the remote invocations are forwarded.

Specified by:
setTarget in interface javax.rmi.CORBA.Tie

getTarget

public java.rmi.Remote getTarget()
Get the target where the remote invocations are forwarded.

Specified by:
getTarget in interface javax.rmi.CORBA.Tie

thisObject

public org.omg.CORBA.Object thisObject()
Get the CORBA object for that this Tie is currently serving the request. The same tie may serve multiple requests for the different objects in parallel threads.

Specified by:
thisObject in interface javax.rmi.CORBA.Tie

deactivate

public void deactivate()
Deactivate this object.

Specified by:
deactivate in interface javax.rmi.CORBA.Tie

orb

public org.omg.CORBA.ORB orb()
Get the ORB for this tie.

Specified by:
orb in interface javax.rmi.CORBA.Tie

orb

public void orb(org.omg.CORBA.ORB orb)
Set the ORB for this tie.

Specified by:
orb in interface javax.rmi.CORBA.Tie

_all_interfaces

public java.lang.String[] _all_interfaces(org.omg.PortableServer.POA poa,
                                          byte[] objectId)
Return all interfaces, supported by this method.


_invoke

public org.omg.CORBA.portable.OutputStream _invoke(java.lang.String method,
                                                   org.omg.CORBA.portable.InputStream _in,
                                                   org.omg.CORBA.portable.ResponseHandler reply)
                                            throws org.omg.CORBA.SystemException
This method is invoked by CORBA system to handle the remote invocation.

Specified by:
_invoke in interface org.omg.CORBA.portable.InvokeHandler