- 浏览: 4640 次
- 性别:
- 来自: 珠海
最新评论
文章列表
import org.junit.Before;
import org.junit.Test;
import quickfix.ConfigError;
import quickfix.FieldConvertError;
import quickfix.StringField;
import quickfix.field.Account;
import quickfix.field.ClOrdID;
import quickfix.field.CumQty;
import quickfix.field.Currency;
import quickfix.field.ExecID;
import ...
[DEFAULT]
ConnectionType=initiator
ReconnectInterval=3
[SESSION]
BeginString=FIXT.1.1
DefaultApplVerID=FIX.5.0
HeartBtInt=30
AppDataDictionary=FOTA_2_5_x_2_9.xml
SenderCompID=INITIATOR
TargetCompID=ACCEPTOR
PersistMessages=Y
NonStopSession=Y
SocketConnectHost=localhost
SocketConnectPort=21631
S ...
import org.quickfixj.jmx.JmxExporter;
import quickfix.ConfigError;
import quickfix.DefaultMessageFactory;
import quickfix.DoNotSend;
import quickfix.FieldNotFound;
import quickfix.IncorrectDataFormat;
import quickfix.IncorrectTagValue;
import quickfix.JdbcStoreFactory;
import quickfix.LogFactory;
imp ...
import quickfix.Application;
import quickfix.ConfigError;
import quickfix.DefaultMessageFactory;
import quickfix.DoNotSend;
import quickfix.FieldConvertError;
import quickfix.FieldNotFound;
import quickfix.IncorrectDataFormat;
import quickfix.IncorrectTagValue;
import quickfix.JdbcStoreFactory;
impor ...
[DEFAULT]
ConnectionType=acceptor
ReconnectInterval=3
SocketAcceptPort=21631
SocketAcceptAddress=0.0.0.0
[SESSION]
BeginString=FIXT.1.1
DefaultApplVerID=FIX.5.0
AppDataDictionary=FOTA_2_5_x_2_9.xml
TargetCompID=INITIATOR
SenderCompID=ACCEPTOR
PersistMessages=Y
RefreshOnLogon=Y
StartTime=00:00:00 ...
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&qu ...
import org.slf4j.Logger;
import quickfix.DataDictionary;
import quickfix.Field;
import quickfix.FieldMap;
import quickfix.FieldNotFound;
import quickfix.FieldType;
import quickfix.Group;
import quickfix.Message;
import quickfix.field.MsgType;
import java.util.Iterator;
public class FIXMsg ...
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.UUID;
public class SandboxFolder extends ExternalResource {
private static final String TESTING_SANDBOX = "build/testing-sandbox";
private final File folder;
public static SandboxFolde ...
编译InstallCert.java,然后执行:java InstallCert hostname,比如:
java InstallCert www.twitter.com
会看到如下信息:
java InstallCert www.twitter.com
Loading KeyStore /usr/java/jdk1.6.0_16/jre/lib/security/cacerts...
Opening connection to www.twitter.com:443...
Starting SSL handshake...
javax.net.ssl.SSLHandshakeExcepti ...
/*
* Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* ...
import com.google.inject.Inject;
import com.google.inject.Injector;
import org.eclipse.jetty.http.HttpVersion;
import org.eclipse.jetty.security.ConstraintMapping;
import org.eclipse.jetty.security.ConstraintSecurityHandler;
import org.eclipse.jetty.security.HashLoginService;
import org.eclipse.jetty ...