com.threerings.nexus.net
Class Downstream.SubscribeFailure

java.lang.Object
  extended by com.threerings.nexus.net.Downstream.SubscribeFailure
All Implemented Interfaces:
Streamable, Downstream
Enclosing interface:
Downstream

public static class Downstream.SubscribeFailure
extends Object
implements Downstream

A failure response to a subscription request.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.nexus.net.Downstream
Downstream.DispatchEvent, Downstream.Handler, Downstream.ObjectCleared, Downstream.ServiceFailure, Downstream.ServiceResponse, Downstream.Subscribe, Downstream.SubscribeFailure
 
Nested classes/interfaces inherited from interface com.threerings.nexus.io.Streamable
Streamable.Input, Streamable.Output
 
Field Summary
 Address<?> addr
          The address of the object requested.
 String cause
          The reason for the failure.
 
Constructor Summary
Downstream.SubscribeFailure(Address<?> addr, String cause)
           
 
Method Summary
 void dispatch(Downstream.Handler handler)
          Dispatches this message to the appropriate method on the supplied handler.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

addr

public final Address<?> addr
The address of the object requested.


cause

public final String cause
The reason for the failure.

Constructor Detail

Downstream.SubscribeFailure

public Downstream.SubscribeFailure(Address<?> addr,
                                   String cause)
Method Detail

dispatch

public void dispatch(Downstream.Handler handler)
Description copied from interface: Downstream
Dispatches this message to the appropriate method on the supplied handler.

Specified by:
dispatch in interface Downstream

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.