com.threerings.nexus.net
Class Upstream.PostEvent

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

public static class Upstream.PostEvent
extends Object
implements Upstream

A request to post an event on the server.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.nexus.net.Upstream
Upstream.Handler, Upstream.PostEvent, Upstream.ServiceCall, Upstream.Subscribe, Upstream.Unsubscribe
 
Nested classes/interfaces inherited from interface com.threerings.nexus.io.Streamable
Streamable.Input, Streamable.Output
 
Field Summary
 NexusEvent event
          The event to be posted.
 
Constructor Summary
Upstream.PostEvent(NexusEvent event)
           
 
Method Summary
 void dispatch(Upstream.Handler handler)
          Dispatches this message to the appropriate method on the supplied handler.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

public final NexusEvent event
The event to be posted.

Constructor Detail

Upstream.PostEvent

public Upstream.PostEvent(NexusEvent event)
Method Detail

dispatch

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

Specified by:
dispatch in interface Upstream


Copyright © 2013. All Rights Reserved.