You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2008/11/05 18:02:42 UTC

svn commit: r711621 - /jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.java

Author: sebb
Date: Wed Nov  5 09:02:41 2008
New Revision: 711621

URL: http://svn.apache.org/viewvc?rev=711621&view=rev
Log:
Abstract implementation of TCPClient

Added:
    jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.java   (with props)

Added: jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.java?rev=711621&view=auto
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.java (added)
+++ jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.java Wed Nov  5 09:02:41 2008
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * 
+ */
+
+package org.apache.jmeter.protocol.tcp.sampler;
+
+/**
+ * Basic implementation of TCPClient interface.
+ */
+public abstract class AbstractTCPClient implements TCPClient {
+
+    /* (non-Javadoc)
+     * @see org.apache.jmeter.protocol.tcp.sampler.TCPClient#getEolByte()
+     */
+    public byte getEolByte() {
+        return 0;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.jmeter.protocol.tcp.sampler.TCPClient#setEolByte(byte)
+     */
+    public void setEolByte(byte eolByte) {
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.jmeter.protocol.tcp.sampler.TCPClient#setupTest()
+     */
+    public void setupTest() {
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.jmeter.protocol.tcp.sampler.TCPClient#teardownTest()
+     */
+    public void teardownTest() {
+    }
+
+}

Propchange: jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org