aboutsummaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorDanny van Heumen <danny@dannyvanheumen.nl>2015-04-06 22:59:35 +0200
committerDanny van Heumen <danny@dannyvanheumen.nl>2015-05-30 20:09:07 +0200
commit986e94d936350300c606aec530b3935087b5a29f (patch)
treed0b9009c44465142f91daf20e04344c5a92378f4 /src/net
parent5e72bec68ae102c3203edd6769bee19cf3caf518 (diff)
downloadjitsi-986e94d936350300c606aec530b3935087b5a29f.zip
jitsi-986e94d936350300c606aec530b3935087b5a29f.tar.gz
jitsi-986e94d936350300c606aec530b3935087b5a29f.tar.bz2
Proxy support for DCC receive operation added to irc-api client library.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/irc/SynchronizedIRCApi.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/irc/SynchronizedIRCApi.java b/src/net/java/sip/communicator/impl/protocol/irc/SynchronizedIRCApi.java
index 52230f0..cf791b2 100644
--- a/src/net/java/sip/communicator/impl/protocol/irc/SynchronizedIRCApi.java
+++ b/src/net/java/sip/communicator/impl/protocol/irc/SynchronizedIRCApi.java
@@ -45,6 +45,13 @@ public class SynchronizedIRCApi
@Override
public synchronized void connect(final IServerParameters aServerParameters,
+ final Callback<IIRCState> aCallback)
+ {
+ this.irc.connect(aServerParameters, aCallback);
+ }
+
+ @Override
+ public synchronized void connect(final IServerParameters aServerParameters,
final Callback<IIRCState> aCallback,
final CapabilityNegotiator negotiator)
{
@@ -271,6 +278,14 @@ public class SynchronizedIRCApi
}
@Override
+ public synchronized void dccReceive(final File aFile, final Integer aSize,
+ final SocketAddress aAddress, final DCCReceiveCallback aCallback,
+ final Proxy aProxy)
+ {
+ this.irc.dccReceive(aFile, aSize, aAddress, aCallback, aProxy);
+ }
+
+ @Override
public synchronized void dccResume(final File aFile,
final Integer aResumePosition, final Integer aSize,
final SocketAddress aAddress, final DCCReceiveCallback aCallback)
@@ -279,6 +294,16 @@ public class SynchronizedIRCApi
}
@Override
+ public synchronized void dccResume(final File aFile,
+ final Integer aResumePosition, final Integer aSize,
+ final SocketAddress aAddress, final DCCReceiveCallback aCallback,
+ final Proxy aProxy)
+ {
+ this.irc.dccResume(aFile, aResumePosition, aSize, aAddress, aCallback,
+ aProxy);
+ }
+
+ @Override
public synchronized DCCManager getDCCManager()
{
return this.irc.getDCCManager();