资源简介
carte子服务器作为kettle的组成模块,用来远程执行转换和作业。carte是一个轻量级的服务进程,可以支持远程监控,并为转换提供集群的能力。子服务器是集群的最小组成模块,也是一个小型的http服务器,用来接收远程客户端命令,这些命令用于作业和转换的部署、管理和监控。
代码片段和文件信息
/*
* Copyright 2009 Red Hat Inc.
*
* Red Hat licenses this file to you under the Apache License version 2.0
* (the “License“); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.handler.ipfilter;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.StringTokenizer;
/**
* @author frederic bregier
*/
public abstract class CIDR implements Comparable
{
/**
* The base address of the CIDR notation
*/
protected InetAddress baseAddress;
/**
* The mask used in the CIDR notation
*/
protected int cidrMask;
/**
* Create CIDR using the CIDR Notation
* @param baseAddress
* @param cidrMask
* @return the generated CIDR
* @throws UnknownHostException
*/
public static CIDR newCIDR(InetAddress baseAddress int cidrMask) throws UnknownHostException
{
if (cidrMask < 0)
{
throw new UnknownHostException(“Invalid mask length used: “ + cidrMask);
}
if (baseAddress instanceof Inet4Address)
{
if (cidrMask > 32)
{
throw new UnknownHostException(“Invalid mask length used: “ + cidrMask);
}
return new CIDR4((Inet4Address) baseAddress cidrMask);
}
// IPv6.
if (cidrMask > 128)
{
throw new UnknownHostException(“Invalid mask length used: “ + cidrMask);
}
return new CIDR6((Inet6Address) baseAddress cidrMask);
}
/**
* Create CIDR using the normal Notation
* @param baseAddress
* @param scidrMask
* @return the generated CIDR
* @throws UnknownHostException
*/
public static CIDR newCIDR(InetAddress baseAddress String scidrMask) throws UnknownHostException
{
int cidrMask = getNetMask(scidrMask);
if (cidrMask < 0)
{
throw new UnknownHostException(“Invalid mask length used: “ + cidrMask);
}
if (baseAddress instanceof Inet4Address)
{
if (cidrMask > 32)
{
throw new UnknownHostException(“Invalid mask length used: “ + cidrMask);
}
return new CIDR4((Inet4Address) baseAddress cidrMask);
}
cidrMask += 96;
// IPv6.
if (cidrMask > 128)
{
throw new UnknownHostException(“Invalid mask length used: “ + cidrMask);
}
return new CIDR6((Inet6Address) baseAddress cidrMask);
}
/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-09-01 14:53 yajsw-stable-12.13a\
目录 0 2018-08-13 02:24 yajsw-stable-12.13a\bat\
目录 0 2018-08-13 02:24 yajsw-stable-12.13a\bat\demos\
文件 0 2018-08-13 02:24 yajsw-stable-12.13a\bat\demos\installServicesManagerServer.bat
文件 240 2018-08-13 02:24 yajsw-stable-12.13a\bat\demos\jnlpDemo.bat
文件 250 2018-08-13 02:24 yajsw-stable-12.13a\bat\demos\remoteLaunchTomcatDemo.bat
文件 164 2018-08-13 02:24 yajsw-stable-12.13a\bat\demos\runsc
文件 79 2018-08-13 02:24 yajsw-stable-12.13a\bat\demos\testMail.bat
文件 177 2018-08-13 02:24 yajsw-stable-12.13a\bat\genConfig.bat
文件 72 2018-08-13 02:24 yajsw-stable-12.13a\bat\installService.bat
文件 70 2018-08-13 02:24 yajsw-stable-12.13a\bat\queryService.bat
文件 68 2018-08-13 02:24 yajsw-stable-12.13a\bat\runConsole.bat
文件 67 2018-08-13 02:24 yajsw-stable-12.13a\bat\runConsoleW.bat
文件 265 2018-08-13 02:24 yajsw-stable-12.13a\bat\runHelloWorld.bat
文件 148 2018-08-13 02:24 yajsw-stable-12.13a\bat\runServicesManagerClient.bat
文件 158 2018-08-13 02:24 yajsw-stable-12.13a\bat\runServicesManagerServer.bat
文件 1203 2018-08-13 02:24 yajsw-stable-12.13a\bat\setenv.bat
文件 72 2018-08-13 02:24 yajsw-stable-12.13a\bat\startService.bat
文件 72 2018-08-13 02:24 yajsw-stable-12.13a\bat\stopService.bat
文件 72 2018-08-13 02:24 yajsw-stable-12.13a\bat\systemTrayIcon.bat
文件 65 2018-08-13 02:24 yajsw-stable-12.13a\bat\sytemTrayIconW.bat
文件 66 2018-08-13 02:24 yajsw-stable-12.13a\bat\uninstallService.bat
文件 165 2018-08-13 02:24 yajsw-stable-12.13a\bat\wrapper.bat
文件 112 2018-08-13 02:24 yajsw-stable-12.13a\bat\wrapperW.bat
目录 0 2018-08-13 02:24 yajsw-stable-12.13a\bin\
目录 0 2018-08-13 02:24 yajsw-stable-12.13a\bin\demos\
文件 912 2018-08-13 02:24 yajsw-stable-12.13a\bin\demos\jnlpDemo.sh
文件 929 2018-08-13 02:24 yajsw-stable-12.13a\bin\demos\remoteLaunchTomcatDemo.sh
文件 898 2018-08-13 02:24 yajsw-stable-12.13a\bin\genConfig.sh
文件 724 2018-08-13 02:24 yajsw-stable-12.13a\bin\installDaemon.sh
文件 3521 2018-08-13 02:24 yajsw-stable-12.13a\bin\installDaemonD.sh
............此处省略998个文件信息
- 上一篇:信息安全技术——金舒原
- 下一篇:离散数学 左孝凌版全
相关资源
- kettle 8.2
- kettle组件简介.zip
- kettle 数据过滤验证
- 3Kettle-----关联字典表的三种方法
- Kettle在Linux的安装使用
- 10分钟搞定kettle源码部署
- 国家电网公司Kettle培训
- aliyun-kettle-odps-plugin-1.0.0包以及安装操
- Kettle教程详细解析各个控件
- Pentaho-Data-Integration-完全自学手册.20
- Pentaho Kettle解决方案:使用PDI构建开源
- 最全ETL工具 Kettle 3.0 用户手册
- ETL工具KETTLE培训教程
- kettle 8.2 ETL项目实战教程.doc
- Kettle 7.1 中文使用手册.docx.zip193183
- pentaho kettle solutions电子书及完整源码
- kettle8.0编译环境文件
- kettle5.0-api(engine part)
- kettle学习资料大全
- linux环境下部署kettle,执行kitchen.sh文
- KETTLE用libwebkitgtk
- Kettle教程
- web应用集成kettle
- 缓存 队列 kettle
- kettle6.1.0.1-196 MyEclipse源码工程包 par
- 史上最强-Kettle-培训教程
- pentaho-kettle-master-8.3源码.zip
- Pentaho Kettle Solutions.pdf
- elasticsearch-bulk-insert-plugin-8.2.0.4-606.z
- PentahoKettleSolutions中文版及随书代码
评论
共有 条评论