Package org.sblim.slp.internal.sa
Class DatagramThread
- java.lang.Object
-
- org.sblim.slp.internal.sa.RecieverThread
-
- org.sblim.slp.internal.sa.DatagramThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class DatagramThread extends RecieverThread
DatagramThread
-
-
Field Summary
-
Fields inherited from class org.sblim.slp.internal.sa.RecieverThread
iSrvAgent
-
-
Constructor Summary
Constructors Constructor Description DatagramThread(ServiceAgent pSrvAgent)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclose()protected voidinit()voidjoinGroup(java.net.InetAddress pGroup)joinGroupvoidleaveGroup(java.net.InetAddress pGroup)leaveGroupprotected voidmainLoop()
-
-
-
Constructor Detail
-
DatagramThread
public DatagramThread(ServiceAgent pSrvAgent)
Ctor.- Parameters:
pSrvAgent-
-
-
Method Detail
-
joinGroup
public void joinGroup(java.net.InetAddress pGroup) throws java.io.IOExceptionjoinGroup- Parameters:
pGroup-- Throws:
java.io.IOException
-
leaveGroup
public void leaveGroup(java.net.InetAddress pGroup) throws java.io.IOExceptionleaveGroup- Parameters:
pGroup-- Throws:
java.io.IOException
-
init
protected void init() throws java.io.IOException- Specified by:
initin classRecieverThread- Throws:
java.io.IOException
-
mainLoop
protected void mainLoop() throws java.io.IOException- Specified by:
mainLoopin classRecieverThread- Throws:
java.io.IOException
-
close
protected void close()
- Specified by:
closein classRecieverThread
-
-