public class DirectDispatcher
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DirectDispatcher.ProviderDispatchable |
static interface |
DirectDispatcher.SwitcherReceiveable |
Modifier and Type | Method and Description |
---|---|
static DirectDispatcher |
getInstance() |
DirectDispatcher.ProviderDispatchable |
getProviderDispatchable(int pvid) |
DirectDispatcher.ProviderDispatchable |
getProviderDispatchableByProtocolType(int type) |
static int |
getProviderId(int ptype) |
boolean |
register(int pvid,
DirectDispatcher.ProviderDispatchable dispatch) |
void |
unregister(int pvid) |
public static DirectDispatcher getInstance()
public static int getProviderId(int ptype)
public boolean register(int pvid, DirectDispatcher.ProviderDispatchable dispatch)
public void unregister(int pvid)
public DirectDispatcher.ProviderDispatchable getProviderDispatchableByProtocolType(int type)
public DirectDispatcher.ProviderDispatchable getProviderDispatchable(int pvid)