本文整理了Java中org.jgroups.util.Util.writeByteBuffer()
方法的一些代码示例,展示了Util.writeByteBuffer()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.writeByteBuffer()
方法的具体详情如下:
包路径:org.jgroups.util.Util
类名称:Util
方法名:writeByteBuffer
暂无
代码示例来源:origin: wildfly/wildfly
@Override
public void writeTo(DataOutput output) throws Exception {
Util.writeByteBuffer(this.sharedSecret, output);
}
代码示例来源:origin: wildfly/wildfly
public static void writeByteBuffer(byte[] buf,DataOutput out) throws Exception {
writeByteBuffer(buf,0,buf.length,out);
}
代码示例来源:origin: wildfly/wildfly
public void writeTo(DataOutput out) throws Exception {
Util.writeByteBuffer(this.encryptedToken, out);
}
代码示例来源:origin: wildfly/wildfly
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type);
Util.writeByteBuffer(version, 0, version != null? version.length : 0, out);
}
代码示例来源:origin: wildfly/wildfly
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type);
switch(type) {
case CHALLENGE:
Util.writeByteBuffer(payload, out);
break;
case RESPONSE:
out.writeLong(hash);
break;
}
}
代码示例来源:origin: wildfly/wildfly
@Override
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type.ordinal());
Util.writeByteBuffer(payload, out);
}
代码示例来源:origin: wildfly/wildfly
public void writeTo(DataOutput out) throws Exception {
Bits.writeString(attr_name,out);
Util.writeByteBuffer(attr_value, out);
}
代码示例来源:origin: wildfly/wildfly
public void writeTo(DataOutput out) throws Exception {
Bits.writeString(attr_name,out);
Util.writeByteBuffer(attr_value, out);
}
代码示例来源:origin: org.jboss.eap/wildfly-clustering-jgroups-extension
@Override
public void writeTo(DataOutput output) throws Exception {
Util.writeByteBuffer(this.sharedSecret, output);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public static void writeByteBuffer(byte[] buf,DataOutput out) throws Exception {
writeByteBuffer(buf,0,buf.length,out);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public void writeTo(DataOutput out) throws Exception {
Util.writeByteBuffer(this.encryptedToken, out);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type);
Util.writeByteBuffer(version, 0, version != null? version.length : 0, out);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type);
switch(type) {
case CHALLENGE:
Util.writeByteBuffer(payload, out);
break;
case RESPONSE:
out.writeLong(hash);
break;
}
}
代码示例来源:origin: org.jgroups/com.springsource.org.jgroups
public void writeTo(DataOutputStream out) throws IOException {
if(log.isDebugEnabled()){
log.debug("X509Token writeTo()");
}
Util.writeByteBuffer(this.encryptedToken, out);
}
代码示例来源:origin: it.unimi.di.law/jai4j
@Override
public void writeTo( DataOutput out ) throws Exception {
super.writeTo( out );
out.writeUTF( name );
out.writeInt( weight );
Util.writeByteBuffer( jmxServiceURLString, out );
Util.writeByteBuffer( objectNameString, out );
}
代码示例来源:origin: it.unimi.di.law/jai4j
@Override
public void writeExternal( ObjectOutput out ) throws IOException {
super.writeExternal( out );
try {
out.writeUTF( name );
out.writeInt( weight );
Util.writeByteBuffer( jmxServiceURLString, out );
Util.writeByteBuffer( objectNameString, out );
}
catch ( Exception e ) {
throw new IOException( e );
}
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
@Override
public void writeTo(DataOutput out) throws Exception {
out.writeByte(type.ordinal());
Util.writeByteBuffer(payload, out);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public void writeTo(DataOutput out) throws Exception {
Bits.writeString(attr_name,out);
Util.writeByteBuffer(attr_value, out);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
public void writeTo(DataOutput out) throws Exception {
Bits.writeString(attr_name,out);
Util.writeByteBuffer(attr_value, out);
}
内容来源于网络,如有侵权,请联系作者删除!