com.threerings.nexus.net
Interface Downstream.Handler

All Known Implementing Classes:
Connection
Enclosing interface:
Downstream

public static interface Downstream.Handler

Used to dispatch downstream messages.


Method Summary
 void onDispatchEvent(Downstream.DispatchEvent message)
          Dispatches an event originating on the server.
 void onObjectCleared(Downstream.ObjectCleared message)
          Dispatches an object cleared notification.
 void onServiceFailure(Downstream.ServiceFailure message)
          Dispatches a failed service notification from the server.
 void onServiceResponse(Downstream.ServiceResponse message)
          Dispatches a service response from the server.
 void onSubscribe(Downstream.Subscribe message)
          Dispatches a successful subscribe response.
 void onSubscribeFailure(Downstream.SubscribeFailure message)
          Dispatches a failed subscribe response.
 

Method Detail

onSubscribe

void onSubscribe(Downstream.Subscribe message)
Dispatches a successful subscribe response.


onSubscribeFailure

void onSubscribeFailure(Downstream.SubscribeFailure message)
Dispatches a failed subscribe response.


onDispatchEvent

void onDispatchEvent(Downstream.DispatchEvent message)
Dispatches an event originating on the server.


onServiceResponse

void onServiceResponse(Downstream.ServiceResponse message)
Dispatches a service response from the server.


onServiceFailure

void onServiceFailure(Downstream.ServiceFailure message)
Dispatches a failed service notification from the server.


onObjectCleared

void onObjectCleared(Downstream.ObjectCleared message)
Dispatches an object cleared notification.



Copyright © 2013. All Rights Reserved.