Examples of RemoveSubscriptionInfo


Examples of org.apache.activemq.command.RemoveSubscriptionInfo


    public static final RemoveSubscriptionInfoTest SINGLETON = new RemoveSubscriptionInfoTest();

    public Object createObject() throws Exception {
        RemoveSubscriptionInfo info = new RemoveSubscriptionInfo();
        populateObject(info);
        return info;
    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo

        return info;
    }

    protected void populateObject(Object object) throws Exception {
        super.populateObject(object);
        RemoveSubscriptionInfo info = (RemoveSubscriptionInfo) object;

        info.setConnectionId(createConnectionId("ConnectionId:1"));
        info.setSubcriptionName("SubcriptionName:2");
        info.setClientId("ClientId:3");
    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo

public class RemoveSubscriptionInfoTest extends BaseCommandTestSupport {

    public static final RemoveSubscriptionInfoTest SINGLETON = new RemoveSubscriptionInfoTest();

    public Object createObject() throws Exception {
        RemoveSubscriptionInfo info = new RemoveSubscriptionInfo();
        populateObject(info);
        return info;
    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo

        return info;
    }

    protected void populateObject(Object object) throws Exception {
        super.populateObject(object);
        RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)object;
        info.setConnectionId(createConnectionId("ConnectionId:1"));
        info.setSubcriptionName("SubcriptionName:2");
        info.setClientId("ClientId:3");

    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo


    public static final RemoveSubscriptionInfoTest SINGLETON = new RemoveSubscriptionInfoTest();

    public Object createObject() throws Exception {
        RemoveSubscriptionInfo info = new RemoveSubscriptionInfo();
        populateObject(info);
        return info;
    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo

        return info;
    }

    protected void populateObject(Object object) throws Exception {
        super.populateObject(object);
        RemoveSubscriptionInfo info = (RemoveSubscriptionInfo) object;

        info.setConnectionId(createConnectionId("ConnectionId:1"));
        info.setSubcriptionName("SubcriptionName:2");
        info.setClientId("ClientId:3");
    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo

   
    /**
     * @return a new object instance
     */
    public DataStructure createObject() {
        return new RemoveSubscriptionInfo();
    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo

     * @throws IOException
     */
    public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
        super.tightUnmarshal(wireFormat, o, dataIn, bs);

        RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)o;
        info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
        info.setSubcriptionName(tightUnmarshalString(dataIn, bs));
        info.setClientId(tightUnmarshalString(dataIn, bs));

    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo

    /**
     * Write the booleans that this object uses to a BooleanStream
     */
    public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {

        RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)o;

        int rc = super.tightMarshal1(wireFormat, o, bs);
        rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
        rc += tightMarshalString1(info.getSubcriptionName(), bs);
        rc += tightMarshalString1(info.getClientId(), bs);

        return rc + 0;
    }
View Full Code Here

Examples of org.apache.activemq.command.RemoveSubscriptionInfo

     * @throws IOException thrown if an error occurs
     */
    public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
        super.tightMarshal2(wireFormat, o, dataOut, bs);

        RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)o;
        tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
        tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
        tightMarshalString2(info.getClientId(), dataOut, bs);

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.