package scs.demos.pingpong;
/**
* scs/demos/pingpong/PingPongPOATie.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from ../../idl/pingPong.idl
* Saturday, December 6, 2008 5:21:18 PM BRST
*/
public class PingPongPOATie extends PingPongPOA
{
// Constructors
public PingPongPOATie ( scs.demos.pingpong.PingPongOperations delegate ) {
this._impl = delegate;
}
public PingPongPOATie ( scs.demos.pingpong.PingPongOperations delegate , org.omg.PortableServer.POA poa ) {
this._impl = delegate;
this._poa = poa;
}
public scs.demos.pingpong.PingPongOperations _delegate() {
return this._impl;
}
public void _delegate (scs.demos.pingpong.PingPongOperations delegate ) {
this._impl = delegate;
}
public org.omg.PortableServer.POA _default_POA() {
if(_poa != null) {
return _poa;
}
else {
return super._default_POA();
}
}
public void setId (int identifier)
{
_impl.setId(identifier);
} // setId
public int getId ()
{
return _impl.getId();
} // getId
public void ping ()
{
_impl.ping();
} // ping
public void pong ()
{
_impl.pong();
} // pong
public void start ()
{
_impl.start();
} // start
public void stop ()
{
_impl.stop();
} // stop
private scs.demos.pingpong.PingPongOperations _impl;
private org.omg.PortableServer.POA _poa;
} // class PingPongPOATie