com.crankuptheamps.client
Class ProtocolFactory
java.lang.Object
com.crankuptheamps.client.ProtocolFactory
public class ProtocolFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtocolFactory
public ProtocolFactory()
register
public static void register(String name,
String msgType)
throws ProtocolException
- Throws:
ProtocolException
unregister
public static void unregister(String name)
throws ProtocolException
- Throws:
ProtocolException
createProtocol
public static Protocol createProtocol(String name,
Properties props)
throws ProtocolException
- Throws:
ProtocolException