|
|
|
|
@ -43,6 +43,13 @@ public SynchronizedIRCApi(final IRCApi irc)
|
|
|
|
|
this.irc = irc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@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,
|
|
|
|
|
@ -270,6 +277,14 @@ public synchronized void dccReceive(final File aFile, final Integer aSize,
|
|
|
|
|
this.irc.dccReceive(aFile, aSize, aAddress, aCallback);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@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,
|
|
|
|
|
@ -278,6 +293,16 @@ public synchronized void dccResume(final File aFile,
|
|
|
|
|
this.irc.dccResume(aFile, aResumePosition, aSize, aAddress, aCallback);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@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()
|
|
|
|
|
{
|
|
|
|
|
|