public class ComboxSecureSocketFactory extends ComboxFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROTOCOL
Name of the implemented protocol
|
| Constructor and Description |
|---|
ComboxSecureSocketFactory() |
| 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 static final java.lang.String PROTOCOL
public java.lang.String getComboxName()
ComboxFactorygetComboxName in class ComboxFactorypublic Combox<?> createClientCombox(java.lang.String networkUUID)
ComboxFactorycreateClientCombox in class ComboxFactorynetworkUUID - The network we are usingpublic ComboxServer createServerCombox(AccessPoint accessPoint, POPBuffer buffer, Broker broker) throws java.io.IOException
ComboxFactorycreateServerCombox in class ComboxFactoryaccessPoint - The access point for the serverbuffer - The buffer for sending and receivingbroker - The broker associated with this comboxjava.io.IOException - if any problem occurspublic ComboxServer createServerCombox(AccessPoint accessPoint, int timeout, POPBuffer buffer, Broker broker) throws java.io.IOException
ComboxFactorycreateServerCombox in class ComboxFactoryaccessPoint - 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 ComboxAllocate<?> createAllocateCombox(boolean enableUPNP)
ComboxFactorycreateAllocateCombox in class ComboxFactorypublic boolean isAvailable()
ComboxFactoryisAvailable in class ComboxFactorypublic boolean isSecure()
ComboxFactoryisSecure in class ComboxFactory