org.sblim.slp.internal
Class MessageDispatcherStreamed

java.lang.Object
  extended by org.sblim.slp.internal.MessageDispatcherStreamed

public class MessageDispatcherStreamed
extends java.lang.Object


Constructor Summary
MessageDispatcherStreamed(org.sblim.slp.internal.ServiceLocationMessage pRequest, java.util.Vector pResponseList, int[] pTimeoutList, int pMaxResults, java.net.InetAddress pInetAddress, boolean pJustFirstResult)
           
 
Method Summary
protected static boolean addPreviousResponder(org.sblim.slp.internal.ServiceLocationMessage pRequest, java.net.InetAddress pInetAddress)
           
static ServiceLocationException dispatchDAMsg(java.util.Vector pDAList, org.sblim.slp.internal.ServiceLocationMessage pRequest, java.util.Vector pResults, int pMaxReplies)
           
static ServiceLocationException dispatchDatagramMsg(org.sblim.slp.internal.ServiceLocationMessage pRequest, java.util.Vector pResponseList, int[] pTimeoutList, int pMaxResults, java.net.InetAddress pInetAddress, boolean pJustFirstResult)
           
static java.util.Vector dispatchMulticastMsg(java.net.InetAddress pInetAddress, java.net.DatagramSocket pDatagramSocket, org.sblim.slp.internal.ServiceLocationMessage pRequest, int[] pMsTimeOutsList, int pMaxResults, boolean getFirstResult)
           
static org.sblim.slp.internal.ServiceLocationMessage dispatchStreamMsg(java.net.InetAddress pInetAddress, org.sblim.slp.internal.ServiceLocationMessage pRequest, boolean pRetry)
           
static java.util.Vector dispatchUAMsg(java.util.Vector pDAList, org.sblim.slp.internal.ServiceLocationMessage pRequestMsg, java.net.InetAddress pInetAddress)
           
protected static byte[] getBytes(org.sblim.slp.internal.ServiceLocationMessage pRequest, boolean pUsingMCast, boolean pUsingStreams)
           
 ServiceLocationException getExtendedError()
           
protected static org.sblim.slp.internal.ServiceLocationMessage parseMsg(java.io.DataInputStream pInputStream)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageDispatcherStreamed

public MessageDispatcherStreamed(org.sblim.slp.internal.ServiceLocationMessage pRequest,
                                 java.util.Vector pResponseList,
                                 int[] pTimeoutList,
                                 int pMaxResults,
                                 java.net.InetAddress pInetAddress,
                                 boolean pJustFirstResult)
Method Detail

addPreviousResponder

protected static boolean addPreviousResponder(org.sblim.slp.internal.ServiceLocationMessage pRequest,
                                              java.net.InetAddress pInetAddress)

getBytes

protected static byte[] getBytes(org.sblim.slp.internal.ServiceLocationMessage pRequest,
                                 boolean pUsingMCast,
                                 boolean pUsingStreams)
                          throws ServiceLocationException
Throws:
ServiceLocationException

parseMsg

protected static org.sblim.slp.internal.ServiceLocationMessage parseMsg(java.io.DataInputStream pInputStream)
                                                                 throws ServiceLocationException
Throws:
ServiceLocationException

run

public void run()

dispatchDatagramMsg

public static ServiceLocationException dispatchDatagramMsg(org.sblim.slp.internal.ServiceLocationMessage pRequest,
                                                           java.util.Vector pResponseList,
                                                           int[] pTimeoutList,
                                                           int pMaxResults,
                                                           java.net.InetAddress pInetAddress,
                                                           boolean pJustFirstResult)

dispatchMulticastMsg

public static java.util.Vector dispatchMulticastMsg(java.net.InetAddress pInetAddress,
                                                    java.net.DatagramSocket pDatagramSocket,
                                                    org.sblim.slp.internal.ServiceLocationMessage pRequest,
                                                    int[] pMsTimeOutsList,
                                                    int pMaxResults,
                                                    boolean getFirstResult)
                                             throws ServiceLocationException
Throws:
ServiceLocationException

dispatchStreamMsg

public static org.sblim.slp.internal.ServiceLocationMessage dispatchStreamMsg(java.net.InetAddress pInetAddress,
                                                                              org.sblim.slp.internal.ServiceLocationMessage pRequest,
                                                                              boolean pRetry)
                                                                       throws ServiceLocationException
Throws:
ServiceLocationException

dispatchUAMsg

public static java.util.Vector dispatchUAMsg(java.util.Vector pDAList,
                                             org.sblim.slp.internal.ServiceLocationMessage pRequestMsg,
                                             java.net.InetAddress pInetAddress)
                                      throws ServiceLocationException
Throws:
ServiceLocationException

dispatchDAMsg

public static ServiceLocationException dispatchDAMsg(java.util.Vector pDAList,
                                                     org.sblim.slp.internal.ServiceLocationMessage pRequest,
                                                     java.util.Vector pResults,
                                                     int pMaxReplies)

getExtendedError

public ServiceLocationException getExtendedError()


Copyright © 2005, 2006 IBM Corporation. All Rights Reserved.