1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-25 21:04:50 +02:00
Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/components/JingleSecurityBytestreamSession.java

28 lines
669 B
Java
Raw Normal View History

2017-07-27 15:58:11 +02:00
package org.jivesoftware.smackx.jingle.components;
import java.io.IOException;
import org.jivesoftware.smackx.bytestreams.BytestreamSession;
/**
* Created by vanitas on 27.07.17.
*/
public abstract class JingleSecurityBytestreamSession implements BytestreamSession {
protected BytestreamSession wrapped;
@Override
public int getReadTimeout() throws IOException {
return wrapped.getReadTimeout();
}
@Override
public void setReadTimeout(int timeout) throws IOException {
wrapped.setReadTimeout(timeout);
}
public JingleSecurityBytestreamSession(BytestreamSession session) {
this.wrapped = session;
}
}