org.objectweb.dream.protocol.messagePassing
Interface UDPProtocolAttributeController

All Superinterfaces:
AttributeController
All Known Implementing Classes:
UDPProtocolImpl

public interface UDPProtocolAttributeController
extends AttributeController

Attribute controller interface of UDP protocol implementation

See Also:
UDPProtocol, UDPProtocolImpl

Method Summary
 int getPort()
          Returns the default value of the UDPProtocol.PORT hint.
 int getRecvBufferSize()
          Returns the recvBufferSize attribute value.
 void setPort(int port)
          Sets the default value of the UDPProtocol.PORT hint.
 void setRecvBufferSize(int recvBufferSize)
          Sets the size of buffer used in DatagramPacket when receiving message.
 

Method Detail

getPort

int getPort()
Returns the default value of the UDPProtocol.PORT hint.

Returns:
the port attribute's value.
See Also:
UDPProtocol.PORT, setPort(int)

setPort

void setPort(int port)
Sets the default value of the UDPProtocol.PORT hint.

Parameters:
port - the new port attribute's value.
See Also:
UDPProtocol.PORT, getPort()

setRecvBufferSize

void setRecvBufferSize(int recvBufferSize)
Sets the size of buffer used in DatagramPacket when receiving message.

Parameters:
recvBufferSize - the new recvBufferSize attribute value.
See Also:
DatagramPacket.DatagramPacket(byte[], int)

getRecvBufferSize

int getRecvBufferSize()
Returns the recvBufferSize attribute value.

Returns:
the recvBufferSize attribute value.
See Also:
setRecvBufferSize(int)


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.