public class ComboxFactoryPlugin extends ComboxFactory
| Constructor and Description |
|---|
ComboxFactoryPlugin() |
| Modifier and Type | Method and Description |
|---|---|
ComboxAllocate |
createAllocateCombox(boolean enableUPNP)
Create and allocation combox when instantiating a new remote object
|
Combox |
createClientCombox(java.lang.String networkUUID)
Create a new client combox with the given access point
|
ComboxServer |
createServerCombox(AccessPoint accessPoint,
int timeout,
POPBuffer buffer,
Broker broker)
Create a new server combox with the given access point, buffer and broker and
a connection timeout
|
ComboxServer |
createServerCombox(AccessPoint accessPoint,
POPBuffer buffer,
Broker broker)
Create a new server combox with the given access point, buffer and broker
|
java.lang.String |
getComboxName()
Get the combox name
|
boolean |
isAvailable()
Check if this combox is usable.
|
boolean |
isSecure()
Mark if the protocol used by this Combox is secure or not
|
public Combox createClientCombox(java.lang.String networkUUID)
ComboxFactorycreateClientCombox in class ComboxFactorynetworkUUID - The network we are usingpublic ComboxServer createServerCombox(AccessPoint accessPoint, POPBuffer buffer, Broker broker)
ComboxFactorycreateServerCombox in class ComboxFactoryaccessPoint - The access point for the serverbuffer - The buffer for sending and receivingbroker - The broker associated with this comboxpublic ComboxServer createServerCombox(AccessPoint accessPoint, int timeout, POPBuffer buffer, Broker broker)
ComboxFactorycreateServerCombox in class ComboxFactoryaccessPoint - The access point for the servertimeout - The connection timeoutbuffer - The buffer for sending and receivingbroker - The broker associated with this comboxpublic java.lang.String getComboxName()
ComboxFactorygetComboxName in class ComboxFactorypublic ComboxAllocate createAllocateCombox(boolean enableUPNP)
ComboxFactorycreateAllocateCombox in class ComboxFactorypublic boolean isAvailable()
ComboxFactoryisAvailable in class ComboxFactorypublic boolean isSecure()
ComboxFactoryisSecure in class ComboxFactory