WebLogic Server 6.1 Code Examples, BEA Systems, Inc.

examples.iiop.rmi.server.wls
Class PingImpl

java.lang.Object
  |
  +--examples.iiop.rmi.server.wls.PingImpl
All Implemented Interfaces:
Pinger, java.rmi.Remote

public class PingImpl
extends java.lang.Object
implements Pinger

Implements the Ping interface.

Author:
Copyright (c) 2000-2001 by BEA Systems, Inc. All Rights Reserved.

Constructor Summary
PingImpl()
           
 
Method Summary
static void main(java.lang.String[] args)
          Binds this class to the JNDI tree under the name "HelloServer".
 void ping()
           
 void pingCallback(Pinger toPing)
           
 void pingRemote()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingImpl

public PingImpl()
         throws java.rmi.RemoteException
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Binds this class to the JNDI tree under the name "HelloServer".

ping

public void ping()
          throws java.rmi.RemoteException
Specified by:
ping in interface Pinger

pingCallback

public void pingCallback(Pinger toPing)
                  throws java.rmi.RemoteException
Specified by:
pingCallback in interface Pinger

pingRemote

public void pingRemote()
                throws java.rmi.RemoteException
Specified by:
pingRemote in interface Pinger

Documentation is available at
http://e-docs.bea.com/wls/docs61

Copyright © 2001 BEA Systems, Inc. All Rights Reserved.