public abstract class ComboxFactory
extends java.lang.Object
| Constructor and Description |
|---|
ComboxFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract ComboxAllocate |
createAllocateCombox(boolean enableUPNP)
Create and allocation combox when instantiating a new remote object
|
abstract Combox |
createClientCombox(java.lang.String networkUUID)
Create a new client combox with the given access point
|
abstract 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
|
abstract ComboxServer |
createServerCombox(AccessPoint accessPoint,
POPBuffer buffer,
Broker broker)
Create a new server combox with the given access point, buffer and broker
|
abstract java.lang.String |
getComboxName()
Get the combox name
|
boolean |
isAvailable()
Check if this combox is usable.
|
abstract boolean |
isSecure()
Mark if the protocol used by this Combox is secure or not
|
public abstract Combox createClientCombox(java.lang.String networkUUID) throws java.io.IOException
networkUUID - The network we are usingjava.io.IOException - if any problem occurspublic abstract ComboxServer createServerCombox(AccessPoint accessPoint, POPBuffer buffer, Broker broker) throws java.io.IOException
accessPoint - The access point for the serverbuffer - The buffer for sending and receivingbroker - The broker associated with this comboxjava.io.IOException - if any problem occurspublic abstract ComboxServer createServerCombox(AccessPoint accessPoint, int timeout, POPBuffer buffer, Broker broker) throws java.io.IOException
accessPoint - The access point for the servertimeout - The connection timeoutbuffer - The buffer for sending and receivingbroker - The broker associated with this comboxjava.io.IOException - if any problem occurspublic abstract ComboxAllocate createAllocateCombox(boolean enableUPNP) throws java.io.IOException
java.io.IOException - if any problem occurspublic abstract java.lang.String getComboxName()
public abstract boolean isSecure()
public boolean isAvailable()