public class MsgFactory extends Object implements FunctionIDs
ATTR_RPLY, ATTR_RQST, DA_ADVERT, FIRST_ID, LAST_ID, SA_ADVERT, SRV_ACK, SRV_DEREG, SRV_REG, SRV_RPLY, SRV_RQST, SRV_TYPE_RPLY, SRV_TYPE_RQST
Constructor and Description |
---|
MsgFactory() |
Modifier and Type | Method and Description |
---|---|
static SLPMessage |
parse(DatagramPacket pPacket)
parse
|
static SLPMessage |
parse(InputStream pInStr)
parse
|
static SLPMessage |
parse(SLPInputStream pInStr)
parse
|
static SLPMessage |
parse(Socket pSock)
parse
|
public static SLPMessage parse(Socket pSock) throws ServiceLocationException, IOException
pSock
- ServiceLocationException
IOException
public static SLPMessage parse(InputStream pInStr) throws ServiceLocationException, IOException
pInStr
- ServiceLocationException
IOException
public static SLPMessage parse(DatagramPacket pPacket) throws ServiceLocationException, IOException
pPacket
- ServiceLocationException
IOException
public static SLPMessage parse(SLPInputStream pInStr) throws ServiceLocationException, IOException
pInStr
- ServiceLocationException
IOException
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.