org.eclipse.net4j.signal.failover
Class NOOPFailOverStrategy

java.lang.Object
  extended by org.eclipse.net4j.signal.failover.NOOPFailOverStrategy
All Implemented Interfaces:
IFailOverStrategy, INotifier

public class NOOPFailOverStrategy
extends java.lang.Object
implements IFailOverStrategy


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.Introspection
 
Field Summary
static NOOPFailOverStrategy INSTANCE
           
 
Fields inherited from interface org.eclipse.net4j.signal.failover.IFailOverStrategy
NOOP
 
Constructor Summary
NOOPFailOverStrategy()
           
 
Method Summary
 void addListener(IListener listener)
           
 void removeListener(IListener listener)
           
<RESULT> RESULT
send(RequestWithConfirmation<RESULT> request)
           
<RESULT> RESULT
send(RequestWithConfirmation<RESULT> request, long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NOOPFailOverStrategy INSTANCE
Constructor Detail

NOOPFailOverStrategy

public NOOPFailOverStrategy()
Method Detail

send

public <RESULT> RESULT send(RequestWithConfirmation<RESULT> request)
            throws java.lang.Exception
Specified by:
send in interface IFailOverStrategy
Throws:
java.lang.Exception

send

public <RESULT> RESULT send(RequestWithConfirmation<RESULT> request,
                            long timeout)
            throws java.lang.Exception
Specified by:
send in interface IFailOverStrategy
Throws:
java.lang.Exception

addListener

public void addListener(IListener listener)
Specified by:
addListener in interface INotifier

removeListener

public void removeListener(IListener listener)
Specified by:
removeListener in interface INotifier

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.