|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.p2p.communication.ServerFactory
public class ServerFactory
| Constructor Summary | |
|---|---|
ServerFactory()
|
|
| Method Summary | |
|---|---|
static MulticastServer |
getMulticastHost(java.lang.String groupAddress,
RequestListener handler,
int serverPort,
java.util.Properties props)
Create a new instance of a MulticastServer |
static AbstractServer |
getServerInstance(RequestListener handler,
int serverPort,
java.lang.String protocol,
java.util.Properties props)
Create a new instance of communication server for a specific protocol |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerFactory()
| Method Detail |
|---|
public static AbstractServer getServerInstance(RequestListener handler,
int serverPort,
java.lang.String protocol,
java.util.Properties props)
throws CommunicationException
CommunicationException
public static MulticastServer getMulticastHost(java.lang.String groupAddress,
RequestListener handler,
int serverPort,
java.util.Properties props)
throws CommunicationException
MulticastServer
CommunicationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||