• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java ICompressor类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中com.trilead.ssh2.compression.ICompressor的典型用法代码示例。如果您正苦于以下问题:Java ICompressor类的具体用法?Java ICompressor怎么用?Java ICompressor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

ICompressor类属于com.trilead.ssh2.compression包,在下文中一共展示了ICompressor类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: changeRecvCompression

点赞 2

import com.trilead.ssh2.compression.ICompressor; //导入依赖的package包/类
public void changeRecvCompression(ICompressor comp)
{
	recv_comp = comp;
	
	if (comp != null) {
		recv_comp_buffer = new byte[comp.getBufferSize()];
		can_recv_compress |= recv_comp.canCompressPreauth();
	}
}
 

开发者ID:dragonlinux,
项目名称:connectbot,
代码行数:10,
代码来源:TransportConnection.java

示例2: changeSendCompression

点赞 2

import com.trilead.ssh2.compression.ICompressor; //导入依赖的package包/类
public void changeSendCompression(ICompressor comp)
{
	send_comp = comp;
	
	if (comp != null) {
		send_comp_buffer = new byte[comp.getBufferSize()];
		can_send_compress |= send_comp.canCompressPreauth();
	}
}
 

开发者ID:dragonlinux,
项目名称:connectbot,
代码行数:10,
代码来源:TransportConnection.java

示例3: changeRecvCompression

点赞 2

import com.trilead.ssh2.compression.ICompressor; //导入依赖的package包/类
public void changeRecvCompression(ICompressor comp) {
	recv_comp = comp;

	if (comp != null) {
		recv_comp_buffer = new byte[comp.getBufferSize()];
		can_recv_compress |= recv_comp.canCompressPreauth();
	}
}
 

开发者ID:jianlinwei,
项目名称:sshtunnel,
代码行数:9,
代码来源:TransportConnection.java

示例4: changeSendCompression

点赞 2

import com.trilead.ssh2.compression.ICompressor; //导入依赖的package包/类
public void changeSendCompression(ICompressor comp) {
	send_comp = comp;

	if (comp != null) {
		send_comp_buffer = new byte[comp.getBufferSize()];
		can_send_compress |= send_comp.canCompressPreauth();
	}
}
 

开发者ID:jianlinwei,
项目名称:sshtunnel,
代码行数:9,
代码来源:TransportConnection.java

示例5: changeRecvCompression

点赞 2

import com.trilead.ssh2.compression.ICompressor; //导入依赖的package包/类
/**
 * @param comp
 */
public void changeRecvCompression(ICompressor comp) {
	tc.changeRecvCompression(comp);
}
 

开发者ID:dragonlinux,
项目名称:connectbot,
代码行数:7,
代码来源:TransportManager.java

示例6: changeSendCompression

点赞 2

import com.trilead.ssh2.compression.ICompressor; //导入依赖的package包/类
/**
 * @param comp
 */
public void changeSendCompression(ICompressor comp) {
	tc.changeSendCompression(comp);
}
 

开发者ID:dragonlinux,
项目名称:connectbot,
代码行数:7,
代码来源:TransportManager.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)