Rev | Line | |
---|
[1] | 1 | package geniusweb.connection;
|
---|
| 2 |
|
---|
| 3 | import tudelft.utilities.listener.DefaultListenable;
|
---|
| 4 |
|
---|
| 5 | /**
|
---|
| 6 | * Default implementation of connection. Connection implementors only need to
|
---|
| 7 | * implement the send (which moves the data sent into the connection to the
|
---|
| 8 | * other side) and they can call {@link DefaultListenable#notifyChange(Object)}
|
---|
| 9 | * to inform the users of the connection that something came in from the other
|
---|
| 10 | * side.
|
---|
| 11 | *
|
---|
| 12 | * @param <INTYPE> the datatype of objects received from the other side
|
---|
| 13 | * @param <OUTTYPE> the datatype of objects sent to the other side.
|
---|
| 14 | */
|
---|
| 15 | public abstract class DefaultConnection<INTYPE, OUTTYPE> extends
|
---|
[9] | 16 | DefaultListenable<INTYPE> implements ConnectionEnd<INTYPE, OUTTYPE> {
|
---|
[1] | 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.