public class ProtocolManager extends Object
| Modifier and Type | Method and Description |
|---|---|
List<Protocol> |
getCoexistenceProtocols() |
int |
getCoexistenceProtocolSize() |
static ProtocolManager |
getInstance() |
Protocol |
getProtocol(Integer protocolType) |
Map<Integer,Protocol> |
getProtocolMap() |
void |
registerProtocol(ProtocolFactory protocolFactory,
String encoding)
application can register custom protocol
|
public static ProtocolManager getInstance()
public void registerProtocol(ProtocolFactory protocolFactory, String encoding)
public int getCoexistenceProtocolSize()
Copyright © 2020 Baidu, Inc.. All rights reserved.