本文整理汇总了Java中org.jgroups.util.Util.writeAddresses方法的典型用法代码示例。如果您正苦于以下问题:Java Util.writeAddresses方法的具体用法?Java Util.writeAddresses怎么用?Java Util.writeAddresses使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.jgroups.util.Util
的用法示例。
在下文中一共展示了Util.writeAddresses方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: writeTo
import org.jgroups.util.Util; //导入方法依赖的package包/类
public void writeTo(DataOutput outstream) throws Exception {
Util.writeAddress(sender, outstream);
outstream.writeByte(flags);
Bits.writeString(logical_name,outstream);
Util.writeAddress(physical_addr,outstream);
Util.writeAddresses(mbrs, outstream);
}
示例2: writeTo
import org.jgroups.util.Util; //导入方法依赖的package包/类
@Override
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type);
messageID.writeTo(out);
Bits.writeLong(sequencerNumber, out);
if (type == DATA_MESSAGE) {
Util.writeAddresses(destinations, out);
}
}
示例3: writeTo
import org.jgroups.util.Util; //导入方法依赖的package包/类
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type);
Bits.writeString(group,out);
Util.writeAddress(addr, out);
Bits.writeString(logical_name,out);
Util.writeAddresses(mbrs, out);
Util.writeAddress(physical_addr, out);
Util.writeByteBuffer(buffer, offset, length, out);
}
示例4: writeTo
import org.jgroups.util.Util; //导入方法依赖的package包/类
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type);
Util.writeAddresses(mbrs, out);
Util.writeAddress(from, out);
}
示例5: writeTo
import org.jgroups.util.Util; //导入方法依赖的package包/类
public void writeTo(DataOutput out) throws Exception {
view_id.writeTo(out);
ref_view_id.writeTo(out);
Util.writeAddresses(left_members, out);
Util.writeAddresses(new_members, out);
}
示例6: writeTo
import org.jgroups.util.Util; //导入方法依赖的package包/类
public void writeTo(DataOutput out) throws Exception {
super.writeTo(out);
Util.writeAddresses(exclusion_list, out);
}
示例7: writeTo
import org.jgroups.util.Util; //导入方法依赖的package包/类
public void writeTo(DataOutput out) throws Exception {
view_id.writeTo(out);
Util.writeAddresses(members,out);
}
示例8: writeTo
import org.jgroups.util.Util; //导入方法依赖的package包/类
@Override
public void writeTo(DataOutput out) throws Exception {
Util.writeAddresses(destinations, out);
}