com.crankuptheamps.client
Class ProtocolFactory

java.lang.Object
  extended by com.crankuptheamps.client.ProtocolFactory

public class ProtocolFactory
extends Object


Constructor Summary
ProtocolFactory()
           
 
Method Summary
static Protocol createProtocol(String name, Properties props)
           
static void register(String name, String msgType)
           
static void unregister(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolFactory

public ProtocolFactory()
Method Detail

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