|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConnectionHandler
| Method Summary | |
|---|---|
boolean |
onConnected(StpConnection connection)
This event is emitted if the STP connection thread has accepted a connection. |
void |
onDisconnect()
This event is triggered whenever the STP connection is closed. |
void |
onException(java.lang.Exception ex)
This event is triggered if an exception is thrown on the STP connection thread. |
void |
onHandshake(boolean stp1)
This event is triggered when we have received a response to enableStp1(). |
void |
onResponseReceived(int tag,
UmsProtos.Response response)
This event is triggered whenever a command error response is received. |
void |
onServiceList(java.util.List<java.lang.String> services)
This event is triggered when the webdriver received an initial service list from Opera. |
| Method Detail |
|---|
boolean onConnected(StpConnection connection)
connection - The connection that has been accepted.
void onServiceList(java.util.List<java.lang.String> services)
void onHandshake(boolean stp1)
stp1 - true if handshake was an STP/1 response.void onDisconnect()
void onException(java.lang.Exception ex)
void onResponseReceived(int tag,
UmsProtos.Response response)
tag - the internal command tag corresponging to the request..response - null if the response was an error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||