Rev | Line | |
---|
[4940] | 1 | package com.joelpm.bidiMessages.client;
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * Interface implemented by classes that need to be notified
|
---|
| 5 | * when the connection is lost or established.
|
---|
| 6 | *
|
---|
| 7 | * @author Joel Meyer
|
---|
| 8 | */
|
---|
| 9 | public interface ConnectionStatusListener {
|
---|
| 10 | /**
|
---|
| 11 | * Called when the connection has been lost.
|
---|
| 12 | */
|
---|
| 13 | public void connectionLost();
|
---|
| 14 |
|
---|
| 15 | /**
|
---|
| 16 | * Called when the connection has been established.
|
---|
| 17 | */
|
---|
| 18 | public void connectionEstablished();
|
---|
| 19 | }
|
---|
| 20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.