congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SoaHeader.setCallerIp
Code IndexAdd Tabnine to your IDE (free)

How to use
setCallerIp
method
in
com.isuwang.dapeng.core.SoaHeader

Best Java code snippets using com.isuwang.dapeng.core.SoaHeader.setCallerIp (Showing top 5 results out of 315)

origin: isuwang/isuwang-soa

/**
 * 初始化上下文
 *
 * @param soaHeader
 */
private static void initContext(SoaHeader soaHeader) {
  InvocationContext context = InvocationContext.Factory.getCurrentInstance();
  context.setSeqid(BaseServiceClient.seqid_.incrementAndGet());
  try {
    soaHeader.setCallerIp(Optional.of(InetAddress.getLocalHost().getHostAddress()));
  } catch (UnknownHostException e) {
    LOGGER.error(e.getMessage(), e);
  }
  context.setHeader(soaHeader);
  context.setCalleeTimeout(45000);
}
origin: isuwang/isuwang-soa

soaHeader.setCallerIp(Optional.of(SoaSystemEnvProperties.SOA_CALLER_IP));
soaHeader.setServiceName(serviceName);
soaHeader.setMethodName(methodName);
origin: com.isuwang/dapeng-remoting-api

soaHeader.setCallerIp(Optional.of(SoaSystemEnvProperties.SOA_CALLER_IP));
soaHeader.setServiceName(serviceName);
soaHeader.setMethodName(methodName);
origin: isuwang/isuwang-soa

case 5:
  if (schemeField.type == TType.STRING) {
    bean.setCallerIp(Optional.of(iprot.readString()));
  } else {
    TProtocolUtil.skip(iprot, schemeField.type);
origin: com.isuwang/dapeng-core

case 5:
  if (schemeField.type == TType.STRING) {
    bean.setCallerIp(Optional.of(iprot.readString()));
  } else {
    TProtocolUtil.skip(iprot, schemeField.type);
com.isuwang.dapeng.coreSoaHeadersetCallerIp

Popular methods of SoaHeader

  • getMethodName
  • getServiceName
  • getVersionName
  • <init>
  • setMethodName
  • setServiceName
  • setVersionName
  • getRespCode
  • setCallerFrom
  • getCallerFrom
  • getCustomerId
  • getOperatorId
  • getCustomerId,
  • getOperatorId,
  • getRespMessage,
  • getCallerIp,
  • getCustomerName,
  • getOperatorName,
  • setOperatorId,
  • setOperatorName,
  • setTransactionId

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • getSystemService (Context)
  • getApplicationContext (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now