org.jmythapi.protocol
Class BackendFactory

java.lang.Object
  extended by org.jmythapi.protocol.BackendFactory

public class BackendFactory
extends Object

A factory to create a new backend instance.

Usage Example:


   // create a backend object
   IBackend backend = BackendFactory.createBackend("mythbox");
 


Constructor Summary
BackendFactory()
           
 
Method Summary
static IBackend createBackend(String hostname)
           
static IBackend createBackend(String hostname, int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackendFactory

public BackendFactory()
Method Detail

createBackend

public static IBackend createBackend(String hostname)

createBackend

public static IBackend createBackend(String hostname,
                                     int port)


Copyright © 2008-2013. All Rights Reserved.