public interface DataChannelCallback
Modifier and Type | Method and Description |
---|---|
IPEndpoint |
onPASVResponse(IPEndpoint endpoint)
If this callback is implemented, it should return the endpoint that the user
wishes to connect to.
|
IPEndpoint |
onPORTCommand(IPEndpoint endpoint)
If this callback is implemented, it should return the endpoint that the server
should connect to in active (PORT) mode.
|
IPEndpoint onPASVResponse(IPEndpoint endpoint)
endpoint
- the endpoint specified by the server's response to the PASV commandIPEndpoint onPORTCommand(IPEndpoint endpoint)
endpoint
- the endpoint the client will begin listening onCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.