org.sblim.slp.internal
Class MessageDispatcher
java.lang.Object
org.sblim.slp.internal.MessageDispatcher
- Runnable
public class MessageDispatcher
extends java.lang.Object
implements Runnable
MessageDispatcher.java
(C) Copyright IBM Corp. 2005, 2006
THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE
("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
You can obtain a current copy of the Common Public License from
http://www.opensource.org/licenses/cpl1.0.php
protected static boolean | addPreviousResponder(ServiceLocationMessage pRequest, InetAddress pInetAddress)
|
static ServiceLocationException | dispatchDAMsg(Vector pDAList, ServiceLocationMessage pRequest, Vector pResults, int pMaxReplies)
|
static ServiceLocationException | dispatchDatagramMsg(ServiceLocationMessage pRequest, Vector pResponseList, int[] pTimeoutList, int pMaxResults, InetAddress pInetAddress, boolean pJustFirstResult)
|
static Vector | dispatchMulticastMsg(InetAddress pInetAddress, DatagramSocket pDatagramSocket, ServiceLocationMessage pRequest, int[] pMsTimeOutsList, int pMaxResults, boolean pGetFirstResult)
|
static ServiceLocationMessage | dispatchStreamMsg(InetAddress pInetAddress, ServiceLocationMessage pRequest, boolean pRetry)
|
static Vector | dispatchUAMsg(Vector pDAList, ServiceLocationMessage pRequestMsg, InetAddress pInetAddress)
|
static byte[] | getByteArray(String pHex)
|
protected static byte[] | getBytes(ServiceLocationMessage pRequest, boolean pUsingMCast, boolean pUsingStreams)
|
static void | main(String[] args)
|
protected static ServiceLocationMessage | parseMsg(DataInputStream pInputStream)
|
void | run()
|
iAddress
protected InetAddress iAddress
iMaxResults
protected int iMaxResults
iResponseList
protected Vector iResponseList
iTimeoutList
protected int[] iTimeoutList
addPreviousResponder
protected static boolean addPreviousResponder(ServiceLocationMessage pRequest,
InetAddress pInetAddress)
dispatchMulticastMsg
public static Vector dispatchMulticastMsg(InetAddress pInetAddress,
DatagramSocket pDatagramSocket,
ServiceLocationMessage pRequest,
int[] pMsTimeOutsList,
int pMaxResults,
boolean pGetFirstResult)
throws ServiceLocationException
getByteArray
public static byte[] getByteArray(String pHex)
main
public static void main(String[] args)
Copyright © 2005, 2007 IBM Corporation. All Rights Reserved.