|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transport
Method Summary | |
---|---|
void |
enableSSL(boolean sslEnabled)
Enable or disable SSL |
org.apache.mina.core.service.IoAcceptor |
getAcceptor()
|
java.lang.String |
getAddress()
|
int |
getBackLog()
|
int |
getNbThreads()
Set the IoAcceptor |
int |
getPort()
Gets the port for this service. |
void |
init()
Initialize the Acceptor if needed |
boolean |
isSSLEnabled()
|
void |
setAddress(java.lang.String address)
Set the InetAddress for this transport. |
void |
setBackLog(int backLog)
Set the size of the messages queue waiting for the acceptor to be ready. |
void |
setEnableSSL(boolean sslEnabled)
Enable or disable SSL |
void |
setNbThreads(int nbThreads)
Set the number of processing threads for the acceptor |
void |
setPort(int port)
Sets the port for this service. |
Method Detail |
---|
void init()
java.lang.String getAddress()
void setAddress(java.lang.String address)
address
- The address to setint getPort()
void setPort(int port)
port
- the port for this service
java.lang.IllegalArgumentException
- if the port number is not within a valid rangeorg.apache.mina.core.service.IoAcceptor getAcceptor()
int getNbThreads()
acceptor
- The IoAcceptor to set
void setAcceptor ( IoAcceptor acceptor );
/**
void setNbThreads(int nbThreads)
nbThreads
- The number of threads to create in the acceptorint getBackLog()
void setBackLog(int backLog)
backLog
- The queue sizevoid setEnableSSL(boolean sslEnabled)
sslEnabled
- if true
, SSL is enabled.void enableSSL(boolean sslEnabled)
sslEnabled
- if true
, SSL is enabled.boolean isSSLEnabled()
true
id SSL is enabled for this transport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |