|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PushEndpointFactory
| Method Summary | |
|---|---|
PushEndpoint |
createForSelf()
Gets the endpoint for the self. |
PushEndpoint |
createFromBytes(DataInputStream dais)
Constructs a PushEndpoint from binary representation and also updates all other cached PushEndpoint instances that are cached with the
set of read proxies. |
PushEndpoint |
createPushEndpoint(byte[] guid)
creates a PushEndpoint without any proxies. |
PushEndpoint |
createPushEndpoint(byte[] guid,
Set<? extends IpPort> proxies)
|
PushEndpoint |
createPushEndpoint(byte[] guid,
Set<? extends IpPort> proxies,
byte features,
int version)
|
PushEndpoint |
createPushEndpoint(byte[] guid,
Set<? extends IpPort> proxies,
byte features,
int version,
IpPort addr)
|
PushEndpoint |
createPushEndpoint(String httpString)
creates a PushEndpoint from a String passed in http header exchange. |
| Method Detail |
|---|
PushEndpoint createForSelf()
PushEndpoint createPushEndpoint(byte[] guid)
PushEndpoint createPushEndpoint(byte[] guid,
Set<? extends IpPort> proxies)
guid - the client guidproxies - the push proxies for that host, can be empty, see IpPort.EMPTY_SET.
PushEndpoint createPushEndpoint(byte[] guid,
Set<? extends IpPort> proxies,
byte features,
int version)
guid - the client guidproxies - the push proxies for that host
PushEndpoint createPushEndpoint(byte[] guid,
Set<? extends IpPort> proxies,
byte features,
int version,
IpPort addr)
guid - the client guidproxies - the push proxies for that host
PushEndpoint createPushEndpoint(String httpString)
throws IOException
IOException
PushEndpoint createFromBytes(DataInputStream dais)
throws BadPacketException,
IOException
PushEndpoint instances that are cached with the
set of read proxies.
BadPacketException
IOException
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||