-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82d48a8
commit dc5ec5b
Showing
6 changed files
with
204 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
.../main/java/com/alibaba/rocketmq/common/protocol/header/UnregisterClientRequestHeader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/** | ||
* | ||
*/ | ||
package com.alibaba.rocketmq.common.protocol.header; | ||
|
||
import com.alibaba.rocketmq.remoting.CommandCustomHeader; | ||
import com.alibaba.rocketmq.remoting.annotation.CFNotNull; | ||
import com.alibaba.rocketmq.remoting.annotation.CFNullable; | ||
import com.alibaba.rocketmq.remoting.exception.RemotingCommandException; | ||
|
||
|
||
/** | ||
* @author [email protected] [email protected] | ||
*/ | ||
public class UnregisterClientRequestHeader implements CommandCustomHeader { | ||
@CFNotNull | ||
private String clientID; | ||
|
||
@CFNullable | ||
private String producerGroup; | ||
@CFNullable | ||
private String consumerGroup; | ||
|
||
|
||
public String getClientID() { | ||
return clientID; | ||
} | ||
|
||
|
||
public void setClientID(String clientID) { | ||
this.clientID = clientID; | ||
} | ||
|
||
|
||
public String getProducerGroup() { | ||
return producerGroup; | ||
} | ||
|
||
|
||
public void setProducerGroup(String producerGroup) { | ||
this.producerGroup = producerGroup; | ||
} | ||
|
||
|
||
public String getConsumerGroup() { | ||
return consumerGroup; | ||
} | ||
|
||
|
||
public void setConsumerGroup(String consumerGroup) { | ||
this.consumerGroup = consumerGroup; | ||
} | ||
|
||
|
||
@Override | ||
public void checkFields() throws RemotingCommandException { | ||
// TODO Auto-generated method stub | ||
|
||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...main/java/com/alibaba/rocketmq/common/protocol/header/UnregisterClientResponseHeader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* | ||
*/ | ||
package com.alibaba.rocketmq.common.protocol.header; | ||
|
||
import com.alibaba.rocketmq.remoting.CommandCustomHeader; | ||
import com.alibaba.rocketmq.remoting.exception.RemotingCommandException; | ||
|
||
/** | ||
* @author [email protected] [email protected] | ||
*/ | ||
public class UnregisterClientResponseHeader implements CommandCustomHeader { | ||
|
||
/* (non-Javadoc) | ||
* @see com.alibaba.rocketmq.remoting.CommandCustomHeader#checkFields() | ||
*/ | ||
@Override | ||
public void checkFields() throws RemotingCommandException { | ||
// TODO Auto-generated method stub | ||
|
||
} | ||
|
||
} |