|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.bea.wlrt.ede.impl.AbstractStreamingEventSource
|
+--com.bea.wlrt.ede.impl.AbstractStage
|
+--com.bea.wlrt.ede.impl.AbstractAdapter
|
+--com.bea.wlrt.adapter.defaultprovider.impl.SocketAdapterImpl
Creates a server connection and waits for incoming client connections. Inherited classes must provide a listener to handle read/write for the connection.
CSVAdapterImpl,
PacketAdapterImpl| Constructor Summary | |
protected |
SocketAdapterImpl(String id)
|
protected |
SocketAdapterImpl(String id,
int port)
|
| Method Summary | |
void |
connectionCreated(Connection conn)
This method is called each time a new client connection is established. |
int |
getPort()
|
protected abstract Connection.Listener |
getReadListener(Connection conn)
Returns a listener which will handle reading and writing for this connection |
protected ServerConnection |
getServerConnection()
|
void |
onEvent(List newEvents)
|
void |
setPort(int port)
|
protected void |
setupServerConnection(int port)
|
| Methods inherited from class com.bea.wlrt.ede.impl.AbstractAdapter |
getEventGenerator |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
protected SocketAdapterImpl(String id)
protected SocketAdapterImpl(String id,
int port)
| Method Detail |
protected void setupServerConnection(int port)
public void onEvent(List newEvents)
throws RejectStreamingEventException
protected ServerConnection getServerConnection()
public int getPort()
public void setPort(int port)
public void connectionCreated(Connection conn)
protected abstract Connection.Listener getReadListener(Connection conn)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||