public class P2pUtil extends Object
| Constructor and Description |
|---|
P2pUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getGeneratedP2pTopicBase(String username,
String host,
String hostProvidedVridStr)
Generate a P2P topic base for CRB mode of the form "#P2P/<cvrid>/<username>".
|
static Topic |
getP2pInboxTopic(String base)
Generate the session base ReplyTo topic of the form "<base>/#"
|
static Topic |
getP2pTopicSubscription(String base)
Generate the session P2P subscription topic of the form "<base>/>".
|
static String |
getVridHex(String host)
Lookup IP for a host and get the hex string for it (vrid-style)
|
public static Topic getP2pInboxTopic(String base)
public static Topic getP2pTopicSubscription(String base)
public static String getGeneratedP2pTopicBase(String username, String host, String hostProvidedVridStr)
Copyright 2004-2020 Solace Corporation. All rights reserved.