|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapSocketListener
Nested Class Summary | |
---|---|
static class |
MapSocketListener.RouteState
|
Method Summary | |
---|---|
void |
coordReceived(int routeId,
Coordinate coordinate)
Invoked when a coordinate is received. |
void |
coordsReceived(List<Coordinate> coords)
Invoked when buffered coordinates is received. |
void |
routeList(List<Route> routes)
Invoked when a list of routes is received. |
void |
routeReceived(int routeId,
List<Coordinate> coordinates)
Invoked when a list of coordinates for a given route is received. |
void |
routeUpdate(int routeId,
MapSocketListener.RouteState state)
Invoked when the state of a route is changed. |
void |
userReceived(User user)
Invoked when a rouser is received. |
void |
usersReceived(List<User> users)
Invoked when a list of registered users is received. |
Methods inherited from interface triptracker.client.net.SocketListener |
---|
connectionUpdate, invalidMessage, socketError |
Method Detail |
---|
void coordReceived(int routeId, Coordinate coordinate)
routeId
- route the coordinate belongs tocoordinate
- coordinate receivedvoid coordsReceived(List<Coordinate> coords)
coords
- list of coordinatesvoid routeList(List<Route> routes)
routes
- list of routesvoid routeUpdate(int routeId, MapSocketListener.RouteState state)
routeId
- route the state change applies tostate
- the new statevoid routeReceived(int routeId, List<Coordinate> coordinates)
routeId
- route the list of coordinates belongs tocoordinates
- list of coordinatesvoid usersReceived(List<User> users)
users
- list of usersvoid userReceived(User user)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |