PCEP sucessfull connection now implemented. Fixed minor bug in parsing.
[bgpcep.git] / framework / src / test / java / org / opendaylight / protocol / framework / Session.java
index 94e4d0640328b9259f801be32e91a8d329c2de90..bca23c31607e44097b1b3b91c4e132bcaed02c07 100644 (file)
@@ -21,16 +21,11 @@ public class Session implements ProtocolSession {
 
        public final List<ProtocolMessage> msgs = Lists.newArrayList();
 
-       private final ProtocolMessageFactory pmf = new MessageFactory();
-
-       private final SessionParent parent;
-
        public boolean up = false;
 
        private final int maxMsgSize;
 
-       public Session(final SessionParent parent, final int maxMsgSize) {
-               this.parent = parent;
+       public Session(final int maxMsgSize) {
                this.maxMsgSize = maxMsgSize;
        }