org.limitless.nmc.Client
Class MuckConnection.Factory

java.lang.Object
  extended by org.limitless.nmc.Client.MuckConnection.Factory
All Implemented Interfaces:
MuConnectionFactory.ConnectionFactory
Enclosing class:
MuckConnection

public static class MuckConnection.Factory
extends java.lang.Object
implements MuConnectionFactory.ConnectionFactory

This factory creates MuckConnections on demand given only a MuLoginDescription. This is important because the parsing of connection URLs is done outside the MuckConnection and there can be many connection implementations for different types.


Constructor Summary
MuckConnection.Factory()
           
 
Method Summary
 MuLineEvent.Source create(MuLoginDescription description)
          When requested, create an object which does all the protocol handling for a target server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuckConnection.Factory

public MuckConnection.Factory()
Method Detail

create

public MuLineEvent.Source create(MuLoginDescription description)
                          throws java.net.UnknownHostException
Description copied from interface: MuConnectionFactory.ConnectionFactory
When requested, create an object which does all the protocol handling for a target server.

Specified by:
create in interface MuConnectionFactory.ConnectionFactory
Throws:
java.net.UnknownHostException


Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.