Package com.proofpoint.event.client

Examples of com.proofpoint.event.client.JsonEventSerializer


{
    @Test
    public void testSerialize()
            throws IOException
    {
        JsonEventSerializer serializer = new JsonEventSerializer(new NodeInfo("test"), PrivateEvent.class);
        JsonGenerator generator = new JsonFactory().createGenerator(nullOutputStream());
        serializer.serialize(new PrivateEvent(), "sample-trace-token", generator);
    }
View Full Code Here

TOP

Related Classes of com.proofpoint.event.client.JsonEventSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.