public class EntityPusher<ENTITY_TYPE> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityPusher.EntityAction |
| Constructor and Description |
|---|
EntityPusher(Class<? super ENTITY_TYPE> entityType) |
| Modifier and Type | Method and Description |
|---|---|
Class<? super ENTITY_TYPE> |
getEntityType() |
void |
notifyAll(EntityPusher.EntityAction entityAction,
ENTITY_TYPE entity) |
void |
registerEntityPushListener(EntityPushListener<? super ENTITY_TYPE> entityPushListener) |
void |
unregisterEntityPushListener(EntityPushListener<? super ENTITY_TYPE> entityPushListener) |
public EntityPusher(Class<? super ENTITY_TYPE> entityType)
public Class<? super ENTITY_TYPE> getEntityType()
public void registerEntityPushListener(EntityPushListener<? super ENTITY_TYPE> entityPushListener)
public void unregisterEntityPushListener(EntityPushListener<? super ENTITY_TYPE> entityPushListener)
public void notifyAll(EntityPusher.EntityAction entityAction, ENTITY_TYPE entity)
Copyright © 2014. All Rights Reserved.