public class UtpPayloadFactory extends Object
UtpProtocol constants to IPayload instances.| Constructor and Description |
|---|
UtpPayloadFactory() |
| Modifier and Type | Method and Description |
|---|---|
IPayload |
createPayloadFromType(int type)
Creates a new instance for the given
type |
public IPayload createPayloadFromType(int type)
typetype - The type as defined in UtpProtocolIPayload associated with the given typeCopyright © 2016. All rights reserved.