|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.core.session.AbstractIoSessionConfig
org.apache.mina.transport.socket.AbstractDatagramSessionConfig
org.apache.mina.transport.socket.DefaultDatagramSessionConfig
public class DefaultDatagramSessionConfig
A default implementation of DatagramSessionConfig
.
Constructor Summary | |
---|---|
DefaultDatagramSessionConfig()
Creates a new instance. |
Method Summary | |
---|---|
int |
getReceiveBufferSize()
|
int |
getSendBufferSize()
|
int |
getTrafficClass()
|
boolean |
isBroadcast()
|
protected boolean |
isBroadcastChanged()
Returns true if and only if the broadcast property has been changed by its setter method. |
protected boolean |
isReceiveBufferSizeChanged()
Returns true if and only if the receiveBufferSize property has been changed by its setter method. |
boolean |
isReuseAddress()
|
protected boolean |
isReuseAddressChanged()
Returns true if and only if the reuseAddress property has been changed by its setter method. |
protected boolean |
isSendBufferSizeChanged()
Returns true if and only if the sendBufferSize property has been changed by its setter method. |
protected boolean |
isTrafficClassChanged()
Returns true if and only if the trafficClass property has been changed by its setter method. |
void |
setBroadcast(boolean broadcast)
|
void |
setReceiveBufferSize(int receiveBufferSize)
|
void |
setReuseAddress(boolean reuseAddress)
|
void |
setSendBufferSize(int sendBufferSize)
|
void |
setTrafficClass(int trafficClass)
|
Methods inherited from class org.apache.mina.transport.socket.AbstractDatagramSessionConfig |
---|
doSetAll, isCloseOnPortUnreachable, setCloseOnPortUnreachable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDatagramSessionConfig()
Method Detail |
---|
public boolean isBroadcast()
DatagramSocket.getBroadcast()
public void setBroadcast(boolean broadcast)
DatagramSocket.setBroadcast(boolean)
public boolean isReuseAddress()
DatagramSocket.getReuseAddress()
public void setReuseAddress(boolean reuseAddress)
DatagramSocket.setReuseAddress(boolean)
public int getReceiveBufferSize()
DatagramSocket.getReceiveBufferSize()
public void setReceiveBufferSize(int receiveBufferSize)
DatagramSocket.setReceiveBufferSize(int)
public int getSendBufferSize()
DatagramSocket.getSendBufferSize()
public void setSendBufferSize(int sendBufferSize)
DatagramSocket.setSendBufferSize(int)
public int getTrafficClass()
DatagramSocket.getTrafficClass()
public void setTrafficClass(int trafficClass)
DatagramSocket.setTrafficClass(int)
protected boolean isBroadcastChanged()
AbstractDatagramSessionConfig
isBroadcastChanged
in class AbstractDatagramSessionConfig
protected boolean isReceiveBufferSizeChanged()
AbstractDatagramSessionConfig
isReceiveBufferSizeChanged
in class AbstractDatagramSessionConfig
protected boolean isReuseAddressChanged()
AbstractDatagramSessionConfig
isReuseAddressChanged
in class AbstractDatagramSessionConfig
protected boolean isSendBufferSizeChanged()
AbstractDatagramSessionConfig
isSendBufferSizeChanged
in class AbstractDatagramSessionConfig
protected boolean isTrafficClassChanged()
AbstractDatagramSessionConfig
isTrafficClassChanged
in class AbstractDatagramSessionConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |