org.eclipse.net4j.signal
Class Request

java.lang.Object
  extended by org.eclipse.net4j.signal.Signal
      extended by org.eclipse.net4j.signal.SignalActor
          extended by org.eclipse.net4j.signal.Request
All Implemented Interfaces:
Runnable

public abstract class Request
extends SignalActor

Represents the sender side of a one-way signal, i.e., one with no response.


Field Summary
 
Fields inherited from class org.eclipse.net4j.signal.Signal
NO_TIMEOUT
 
Constructor Summary
Request(SignalProtocol<?> protocol, Enum<?> literal)
           
Request(SignalProtocol<?> protocol, short signalID)
           
Request(SignalProtocol<?> protocol, short id, String name)
           
 
Method Summary
protected abstract  void requesting(ExtendedDataOutputStream out)
           
 void sendAsync()
           
 
Methods inherited from class org.eclipse.net4j.signal.SignalActor
execute
 
Methods inherited from class org.eclipse.net4j.signal.Signal
finishInputStream, finishOutputStream, flush, getBufferInputStream, getBufferOutputStream, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, run, toString, wrapInputStream, wrapOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Request

public Request(SignalProtocol<?> protocol,
               short id,
               String name)
Since:
2.0

Request

public Request(SignalProtocol<?> protocol,
               short signalID)
Since:
2.0

Request

public Request(SignalProtocol<?> protocol,
               Enum<?> literal)
Since:
2.0
Method Detail

sendAsync

public void sendAsync()
               throws Exception
Throws:
Exception
Since:
2.0

requesting

protected abstract void requesting(ExtendedDataOutputStream out)
                            throws Exception
Throws:
Exception


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.