All Examples  This Package

Class examples.security.snoopproof.SyncerImpl

java.lang.Object
   |
   +----examples.security.snoopproof.SyncerImpl

public class SyncerImpl
extends Object
implements Syncer
SyncerImpl is the implementation of the remote class Syncer, which helps two JVMs synchronize their clocks.

Author:
Copyright (c) 1997-1999 by BEA Systems. All Rights Reserved.

Constructor Index

 o SyncerImpl()

Method Index

 o diff(long)
Returns System.currentTimeMillis() - otherMillis.
 o main(String[])
Bind a new SyncerImpl instance under the name "Syncer".

Constructors

 o SyncerImpl
 public SyncerImpl()

Methods

 o diff
 public long diff(long otherMillis) throws RemoteException
Returns System.currentTimeMillis() - otherMillis.

 o main
 public static void main(String ignore[])
Bind a new SyncerImpl instance under the name "Syncer".


All Examples  This Package