org.ow2.jonas.discovery.internal.client
Interface DiscoveryClientMBean

All Superinterfaces:
EnrollerMBean
All Known Implementing Classes:
DiscoveryClient

public interface DiscoveryClientMBean
extends EnrollerMBean

Version:
1.0
Author:
Takoua Abdellatif

Method Summary
 String getSourceIp()
          Gets the source port
 int getSourcePort()
          Gets the source port that the discovery response has to use.
 int getTimeout()
          gets the duration time the DiscoveryClient has to wait for discovery answers.
 void setSourceIp(String sourceIp)
          Sets the source Ip
 void setSourcePort(int sourcePort)
          Sets the source port
 void setTimeout(int timeout)
          Sets the timeout value the DiscoveryClient for receiving discovery answers.
 
Methods inherited from interface org.ow2.jonas.discovery.internal.enroller.EnrollerMBean
getListeningIp, getListeningPort, getTimeToLive, setListeningIp, setListeningPort, setTimeToLive, start, stop
 

Method Detail

getTimeout

int getTimeout()
gets the duration time the DiscoveryClient has to wait for discovery answers.

Returns:
timeout value.

setTimeout

void setTimeout(int timeout)
Sets the timeout value the DiscoveryClient for receiving discovery answers.

Parameters:
timeout -

getSourcePort

int getSourcePort()
Gets the source port that the discovery response has to use.

Returns:
source port

setSourcePort

void setSourcePort(int sourcePort)
Sets the source port

Parameters:
sourcePort -

getSourceIp

String getSourceIp()
Gets the source port

Returns:
the source port

setSourceIp

void setSourceIp(String sourceIp)
Sets the source Ip

Parameters:
sourceIp -


Copyright © 2010 OW2 Consortium. All Rights Reserved.