Skip navigation links
A B C D E M P R S T U 

A

ANY - Static variable in interface com.squareup.otto.ThreadEnforcer
A ThreadEnforcer that does no verification.

B

Bus - Class in com.squareup.otto
Dispatches events to listeners, and provides ways for listeners to register themselves.
Bus() - Constructor for class com.squareup.otto.Bus
Creates a new Bus named "default" that enforces actions on the main thread.
Bus(String) - Constructor for class com.squareup.otto.Bus
Creates a new Bus with the given identifier that enforces actions on the main thread.
Bus(ThreadEnforcer) - Constructor for class com.squareup.otto.Bus
Creates a new Bus named "default" with the given enforcer for actions.
Bus(ThreadEnforcer, String) - Constructor for class com.squareup.otto.Bus
Creates a new Bus with the given enforcer for actions and the given identifier.

C

com.squareup.otto - package com.squareup.otto
 

D

DeadEvent - Class in com.squareup.otto
Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
DeadEvent(Object, Object) - Constructor for class com.squareup.otto.DeadEvent
Creates a new DeadEvent.
DEFAULT_IDENTIFIER - Static variable in class com.squareup.otto.Bus
 
dispatch(Object, EventHandler) - Method in class com.squareup.otto.Bus
Dispatches event to the handler in wrapper.
dispatchQueuedEvents() - Method in class com.squareup.otto.Bus
Drain the queue of events to be dispatched.

E

enforce(Bus) - Method in interface com.squareup.otto.ThreadEnforcer
Enforce a valid thread for the given bus.
enqueueEvent(Object, EventHandler) - Method in class com.squareup.otto.Bus
Queue the event for dispatch during dispatchQueuedEvents().
event - Variable in class com.squareup.otto.DeadEvent
 

M

MAIN - Static variable in interface com.squareup.otto.ThreadEnforcer
A ThreadEnforcer that confines Bus methods to the main thread.

P

post(Object) - Method in class com.squareup.otto.Bus
Posts an event to all registered handlers.
Produce - Annotation Type in com.squareup.otto
Marks a method as an instance producer, as used by AnnotatedHandlerFinder and Bus.

R

register(Object) - Method in class com.squareup.otto.Bus
Registers all handler methods on object to receive events and producer methods to provide events.

S

source - Variable in class com.squareup.otto.DeadEvent
 
Subscribe - Annotation Type in com.squareup.otto
Marks a method as an event handler, as used by AnnotatedHandlerFinder and Bus.

T

ThreadEnforcer - Interface in com.squareup.otto
Enforces a thread confinement policy for methods on a particular event bus.
toString() - Method in class com.squareup.otto.Bus
 

U

unregister(Object) - Method in class com.squareup.otto.Bus
Unregisters all producer and handler methods on a registered object.
A B C D E M P R S T U 
Skip navigation links

Copyright © 2015 Square, Inc.. All Rights Reserved.