com.threerings.presents.annotation
Annotation Type TransportHint


@Target(value={FIELD,METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface TransportHint

An annotation indicating the type of transport desired for a distributed object class, field, or method.


Optional Element Summary
 int channel
          For ordered transport types, the channel to use.
 Transport.Type type
          The type of transport to use.
 

type

public abstract Transport.Type type
The type of transport to use.

Default:
com.threerings.presents.net.Transport.Type.RELIABLE_ORDERED

channel

public abstract int channel
For ordered transport types, the channel to use.

Default:
0